Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 195.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 279.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.867/0.867, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001863, allocations: 88.86 kB / 0.5946 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1279, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002326/0.1302, allocations: 1.757 MB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.1308, allocations: 0.5184 MB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.1308, allocations: 1.375 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.1312, allocations: 147.7 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.1312, allocations: 47.73 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.1314, allocations: 52.56 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1315, allocations: 207.4 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.682e-05/0.1316, allocations: 15.94 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.1316, allocations: 31.84 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.1317, allocations: 71.62 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1317, allocations: 0 / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1319, allocations: 87.84 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.132, allocations: 55.8 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.132, allocations: 55.62 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1322, allocations: 191.3 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1322, allocations: 0 / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.1322, allocations: 4 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.394e-06/0.1322, allocations: 4 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004514/0.1327, allocations: 470.3 kB / 0.6831 GB, free: 13.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1327, allocations: 12.03 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.1328, allocations: 30.75 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1328, allocations: 20.66 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1329, allocations: 219.7 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.1329, allocations: 384 / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.1329, allocations: 384 / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1331, allocations: 69.92 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-06/0.1331, allocations: 4 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.1331, allocations: 0 / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1331, allocations: 3.984 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1333, allocations: 59.94 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1337, allocations: 340.7 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1338, allocations: 66.48 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.1339, allocations: 32.91 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1339, allocations: 11.98 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1339, allocations: 34.56 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1339, allocations: 4 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003175/0.1343, allocations: 133.4 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.1343, allocations: 51.41 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1345, allocations: 258.7 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1345, allocations: 25.7 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.1346, allocations: 128.2 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.1346, allocations: 15.83 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1346, allocations: 17.72 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.1347, allocations: 334.8 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.1348, allocations: 27.97 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.1349, allocations: 27.98 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1351, allocations: 72.8 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1351, allocations: 0 / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000205/0.1353, allocations: 105.4 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.1353, allocations: 8 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.1353, allocations: 0 / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.1353, allocations: 3.938 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.1354, allocations: 7.984 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1354, allocations: 11.97 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.1355, allocations: 3.984 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1355, allocations: 4 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.1356, allocations: 135.1 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1356, allocations: 15.81 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1358, allocations: 114.5 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1359, allocations: 4.031 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1359, allocations: 0 / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.1359, allocations: 0 / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1361, allocations: 221.5 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1361, allocations: 0 / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.1361, allocations: 8 kB / 0.6857 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1361, allocations: 3.984 kB / 0.6857 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.1361, allocations: 0 / 0.6857 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1361, allocations: 0 / 0.6857 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1362, allocations: 3.938 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1364, allocations: 207.2 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.1364, allocations: 92.91 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1365, allocations: 4 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.1365, allocations: 4 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1366, allocations: 3.984 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.1366, allocations: 0 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1367, allocations: 194 kB / 0.6862 GB, free: 9.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.1367, allocations: 0 / 0.6862 GB, free: 9.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.137, allocations: 43.86 kB / 0.6862 GB, free: 9.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005048/0.1375, allocations: 0.7707 MB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1377, allocations: 59.95 kB / 0.687 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1377, allocations: 0 / 0.687 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.1378, allocations: 31.97 kB / 0.687 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1382, allocations: 41.59 kB / 0.6871 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.1387, allocations: 441.6 kB / 0.6875 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.139, allocations: 0.7316 MB / 0.6882 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.139, allocations: 11.98 kB / 0.6882 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.1391, allocations: 47.42 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1391, allocations: 3.938 kB / 0.6883 GB, free: 7.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.245/3.384, allocations: 3.718 MB / 0.6919 GB, free: 4.191 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/3.385, allocations: 226.2 kB / 0.6921 GB, free: 3.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/5.022, allocations: 0 / 0.6921 GB, free: 3.938 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)