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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, 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.001085/0.001085, allocations: 197.4 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.598 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: 286.3 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001698, allocations: 92.45 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 86.98 MB / 0.6795 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002953/0.1629, allocations: 1.751 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006838/0.1636, allocations: 0.5195 MB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1636, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.164, allocations: 143.7 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.1641, allocations: 55.78 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1643, allocations: 56.41 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1645, allocations: 211.3 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.1645, allocations: 11.94 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.1646, allocations: 27.88 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.1647, allocations: 67.73 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1647, allocations: 0 / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1649, allocations: 87.86 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.1649, allocations: 55.8 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.165, allocations: 67.53 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1653, allocations: 179.3 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1653, allocations: 4 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1653, allocations: 0 / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1653, allocations: 4 kB / 0.6826 GB, free: 13.96 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.000594/0.1659, allocations: 478.3 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1659, allocations: 12.03 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.166, allocations: 20.66 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1662, allocations: 215.7 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1662, allocations: 384 / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1662, allocations: 384 / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1664, allocations: 70.22 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1664, allocations: 3.938 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1664, allocations: 0 / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1665, allocations: 4 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.1667, allocations: 59.89 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1671, allocations: 328.8 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1673, allocations: 66.48 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.1674, allocations: 36.89 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.1674, allocations: 11.98 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1674, allocations: 38.55 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1674, allocations: 4 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003863/0.1678, allocations: 133.4 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1679, allocations: 59.34 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1681, allocations: 246.7 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1681, allocations: 25.7 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.1682, allocations: 136.1 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.1682, allocations: 12.03 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1683, allocations: 13.72 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1684, allocations: 330.8 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.1685, allocations: 27.98 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.1686, allocations: 31.97 kB / 0.6849 GB, free: 11.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1688, allocations: 68.81 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1688, allocations: 3.938 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000224/0.169, allocations: 109.4 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.169, allocations: 4 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.169, allocations: 4 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1691, allocations: 0 / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.1691, allocations: 7.984 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1692, allocations: 0 / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.1692, allocations: 11.94 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1692, allocations: 0 / 0.6851 GB, free: 11.23 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 9.926e-05/0.1693, allocations: 143.1 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.1694, allocations: 15.81 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.1697, allocations: 126.4 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1697, allocations: 4 kB / 0.6853 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1697, allocations: 4.031 kB / 0.6853 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1697, allocations: 0 / 0.6853 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1699, allocations: 221.5 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1699, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.17, allocations: 7.984 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.17, allocations: 0 / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.17, allocations: 4 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.17, allocations: 0 / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.17, allocations: 0 / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1703, allocations: 211.1 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1703, allocations: 88.92 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1704, allocations: 0 / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.1705, allocations: 7.984 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1705, allocations: 11.94 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1705, allocations: 0 / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1707, allocations: 190 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1707, allocations: 0 / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.171, allocations: 43.94 kB / 0.6861 GB, free: 10.07 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.0001783/0.1712, allocations: 127.2 kB / 0.6862 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1714, allocations: 59.95 kB / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1714, allocations: 0 / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.1715, allocations: 39.97 kB / 0.6863 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.172, allocations: 40.47 kB / 0.6863 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.1725, allocations: 360.1 kB / 0.6867 GB, free: 9.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1728, allocations: 0.7355 MB / 0.6874 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.1728, allocations: 4 kB / 0.6874 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.1729, allocations: 15.38 kB / 0.6874 GB, free: 8.641 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1729, allocations: 0 / 0.6874 GB, free: 8.641 MB / 494.1 MB Notification: Performance of Templates: time 0.004237/0.1771, allocations: 1.696 MB / 0.6891 GB, free: 6.98 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)