Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.004607/0.004607, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001068/0.001068, allocations: 196.4 kB / 16.67 MB, free: 5.93 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 288 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8931/0.8931, allocations: 169.2 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 95.86 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00305/0.1557, allocations: 1.712 MB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007/0.1564, allocations: 462.7 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.1564, allocations: 4 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.1568, allocations: 155.6 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.1569, allocations: 55.73 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1572, allocations: 59.8 kB / 0.7683 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1573, allocations: 99.5 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1574, allocations: 4 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.1574, allocations: 43.78 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.1575, allocations: 47.81 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1575, allocations: 4 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1577, allocations: 83.84 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1578, allocations: 55.81 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.1579, allocations: 67.55 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1582, allocations: 179.3 kB / 0.7688 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1582, allocations: 4 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1582, allocations: 0 / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.1582, allocations: 0 / 0.7688 GB, free: 5.93 MB / 0.5606 GB 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.0005961/0.1588, allocations: 482.1 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1588, allocations: 12.03 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.1589, allocations: 30.75 kB / 0.7693 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1589, allocations: 16.75 kB / 0.7693 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1591, allocations: 223.7 kB / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1591, allocations: 384 / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1591, allocations: 4.359 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1593, allocations: 57.98 kB / 0.7696 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1593, allocations: 0 / 0.7696 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1594, allocations: 19.86 kB / 0.7696 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1594, allocations: 0 / 0.7696 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1595, allocations: 39.97 kB / 0.7697 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.16, allocations: 316.8 kB / 0.77 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1601, allocations: 46.55 kB / 0.77 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.1602, allocations: 24.91 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1602, allocations: 8 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1603, allocations: 34.5 kB / 0.7701 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1603, allocations: 0 / 0.7701 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003438/0.1606, allocations: 113.3 kB / 0.7702 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1607, allocations: 51.41 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1609, allocations: 258.8 kB / 0.7705 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1609, allocations: 29.7 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.161, allocations: 128.1 kB / 0.7706 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.161, allocations: 7.906 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1611, allocations: 9.719 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1612, allocations: 334.8 kB / 0.771 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.1613, allocations: 19.98 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.1613, allocations: 27.97 kB / 0.771 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1615, allocations: 48.7 kB / 0.7711 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1615, allocations: 0 / 0.7711 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.1617, allocations: 85.47 kB / 0.7711 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1617, allocations: 7.984 kB / 0.7711 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1617, allocations: 0 / 0.7711 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1617, allocations: 4.094 kB / 0.7711 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.1618, allocations: 8 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1618, allocations: 3.938 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.1619, allocations: 7.984 kB / 0.7712 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1619, allocations: 0 / 0.7712 GB, free: 3.289 MB / 0.5606 GB 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 9.152e-05/0.162, allocations: 142.4 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.1621, allocations: 19.72 kB / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1623, allocations: 102.5 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1623, allocations: 0 / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1623, allocations: 0 / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1623, allocations: 0 / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1625, allocations: 209.6 kB / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1625, allocations: 0 / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.1626, allocations: 15.92 kB / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1626, allocations: 0 / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1626, allocations: 0 / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1626, allocations: 4.031 kB / 0.7716 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1626, allocations: 0 / 0.7716 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1628, allocations: 191.2 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.1629, allocations: 96.81 kB / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1629, allocations: 0 / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.163, allocations: 8 kB / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1631, allocations: 8.016 kB / 0.7719 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1631, allocations: 0 / 0.7719 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000148/0.1632, allocations: 190 kB / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1632, allocations: 0 / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002564/0.1635, allocations: 35.98 kB / 0.7721 GB, free: 2.184 MB / 0.5606 GB 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.0005612/0.1641, allocations: 0.7473 MB / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1643, allocations: 43.95 kB / 0.7729 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1643, allocations: 0 / 0.7729 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.1644, allocations: 23.98 kB / 0.7729 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.1648, allocations: 44.61 kB / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.1654, allocations: 390 kB / 0.7734 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1657, allocations: 0.7391 MB / 0.7741 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.1658, allocations: 11.67 kB / 0.7741 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.1658, allocations: 47.42 kB / 0.7741 GB, free: 56 kB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1658, allocations: 0 / 0.7741 GB, free: 56 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/0.4828, allocations: 3.983 MB / 0.778 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.716, allocations: 14.16 kB / 0.778 GB, free: 14.16 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)