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.003897/0.003897, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001134/0.001134, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002353/0.002353, allocations: 282.8 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 103.8 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1486, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.0026/0.1512, allocations: 1.704 MB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.152, allocations: 0.5141 MB / 0.7681 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.152, allocations: 0 / 0.7681 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1524, allocations: 151.4 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.1524, allocations: 51.73 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1527, allocations: 71.72 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1528, allocations: 103.5 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1529, allocations: 4.281 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.1529, allocations: 35.84 kB / 0.7685 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.153, allocations: 51.72 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.153, allocations: 4 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1532, allocations: 91.77 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.1533, allocations: 55.86 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1533, allocations: 59.56 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1536, allocations: 199 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1536, allocations: 0 / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1536, allocations: 0 / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1536, allocations: 0 / 0.7689 GB, free: 5.867 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.0005732/0.1542, allocations: 494.1 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1542, allocations: 12.03 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1543, allocations: 30.75 kB / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1543, allocations: 20.84 kB / 0.7694 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1545, allocations: 219.9 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1545, allocations: 384 / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1545, allocations: 384 / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1547, allocations: 69.97 kB / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1547, allocations: 0 / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1547, allocations: 0 / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1547, allocations: 4 kB / 0.7697 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.1549, allocations: 59.95 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1554, allocations: 340.7 kB / 0.7701 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1555, allocations: 58.55 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1556, allocations: 36.89 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1557, allocations: 16 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1557, allocations: 34.55 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1557, allocations: 0 / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.1561, allocations: 133.5 kB / 0.7704 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1561, allocations: 55.41 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1564, allocations: 254.8 kB / 0.7706 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1564, allocations: 25.7 kB / 0.7707 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.1565, allocations: 140.1 kB / 0.7708 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.1565, allocations: 3.938 kB / 0.7708 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.1565, allocations: 13.72 kB / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1567, allocations: 330.8 kB / 0.7711 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1568, allocations: 27.98 kB / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1569, allocations: 39.91 kB / 0.7712 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.157, allocations: 64.75 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1571, allocations: 0 / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002163/0.1573, allocations: 113.4 kB / 0.7714 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1573, allocations: 4 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1573, allocations: 12.08 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1573, allocations: 0 / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.1574, allocations: 11.92 kB / 0.7714 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1574, allocations: 0 / 0.7714 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.1575, allocations: 8 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1575, allocations: 4 kB / 0.7714 GB, free: 3.055 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 0.0001058/0.1576, allocations: 134.4 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.1576, allocations: 23.86 kB / 0.7716 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1579, allocations: 114.5 kB / 0.7717 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1579, allocations: 7.938 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1579, allocations: 0 / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1579, allocations: 0 / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1582, allocations: 217.6 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1582, allocations: 0 / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.1582, allocations: 7.984 kB / 0.7719 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1582, allocations: 4 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1583, allocations: 8.031 kB / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1583, allocations: 0 / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1583, allocations: 0 / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1585, allocations: 207.3 kB / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1586, allocations: 89.02 kB / 0.7722 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1586, allocations: 4 kB / 0.7722 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1587, allocations: 8.016 kB / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1588, allocations: 4 kB / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1588, allocations: 0 / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001737/0.1589, allocations: 189.9 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 3.938 kB / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003208/0.1593, allocations: 35.94 kB / 0.7724 GB, free: 1.914 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.0006285/0.1599, allocations: 0.7707 MB / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1601, allocations: 67.88 kB / 0.7732 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1601, allocations: 0 / 0.7732 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.1602, allocations: 36.02 kB / 0.7733 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1607, allocations: 44.45 kB / 0.7733 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.1614, allocations: 413.6 kB / 0.7737 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2605/0.422, allocations: 0.7261 MB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.203e-05/0.4221, allocations: 10.98 kB / 0.7744 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.4222, allocations: 48.61 kB / 0.7745 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.4222, allocations: 0 / 0.7745 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.617, allocations: 3.977 MB / 0.7784 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.24, allocations: 7.859 kB / 0.7784 GB, free: 14.38 MB / 0.5606 GB (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)