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.00123/0.00123, allocations: 109.3 kB / 16.37 MB, free: 6.48 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.001255/0.001255, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 277.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 97.86 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1553, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002964/0.1583, allocations: 1.692 MB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.159, allocations: 0.522 MB / 0.6838 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.1591, allocations: 8 kB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.1595, allocations: 143.4 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.1595, allocations: 51.73 kB / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1598, allocations: 75.72 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1599, allocations: 99.5 kB / 0.6841 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.16, allocations: 7.938 kB / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.1601, allocations: 35.91 kB / 0.6842 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.1602, allocations: 51.7 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1602, allocations: 0 / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.1604, allocations: 91.84 kB / 0.6843 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.1605, allocations: 59.78 kB / 0.6844 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1606, allocations: 59.56 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1609, allocations: 195.4 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1609, allocations: 0 / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1609, allocations: 0 / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1609, allocations: 0 / 0.6846 GB, free: 4.355 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.0006806/0.1616, allocations: 474.3 kB / 0.6851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1616, allocations: 8.031 kB / 0.6851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.1617, allocations: 32.66 kB / 0.6851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1619, allocations: 215.7 kB / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1619, allocations: 8.375 kB / 0.6853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1619, allocations: 384 / 0.6853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1621, allocations: 58.23 kB / 0.6854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1621, allocations: 3.938 kB / 0.6854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1621, allocations: 0 / 0.6854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1621, allocations: 0 / 0.6854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1623, allocations: 63.95 kB / 0.6854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1628, allocations: 332.8 kB / 0.6857 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.163, allocations: 74.34 kB / 0.6858 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1631, allocations: 32.91 kB / 0.6859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.1631, allocations: 15.98 kB / 0.6859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1632, allocations: 34.56 kB / 0.6859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1632, allocations: 0 / 0.6859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003853/0.1636, allocations: 133.4 kB / 0.686 GB, free: 2.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1636, allocations: 51.41 kB / 0.6861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1639, allocations: 262.8 kB / 0.6863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1639, allocations: 25.7 kB / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.164, allocations: 136.1 kB / 0.6865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.164, allocations: 3.906 kB / 0.6865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1642, allocations: 21.64 kB / 0.6865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1643, allocations: 326.8 kB / 0.6868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.1644, allocations: 31.97 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.1645, allocations: 27.98 kB / 0.6869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1647, allocations: 68.8 kB / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.1647, allocations: 3.938 kB / 0.6869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.1649, allocations: 105.4 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1649, allocations: 4 kB / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.165, allocations: 4.094 kB / 0.6871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.165, allocations: 0 / 0.6871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.1651, allocations: 15.98 kB / 0.6871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1651, allocations: 0 / 0.6871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.1651, allocations: 7.984 kB / 0.6871 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1652, allocations: 0 / 0.6871 GB, free: 1.613 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.963e-05/0.1653, allocations: 137.8 kB / 0.6872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1653, allocations: 19.72 kB / 0.6872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.1656, allocations: 114.5 kB / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1656, allocations: 0 / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1656, allocations: 0 / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1656, allocations: 4 kB / 0.6873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1658, allocations: 221.5 kB / 0.6875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1658, allocations: 4 kB / 0.6876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1659, allocations: 4 kB / 0.6876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1659, allocations: 3.984 kB / 0.6876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1659, allocations: 4.031 kB / 0.6876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1659, allocations: 7.938 kB / 0.6876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1659, allocations: 0 / 0.6876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1662, allocations: 203.3 kB / 0.6878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.1663, allocations: 96.81 kB / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1663, allocations: 0 / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.1664, allocations: 8.031 kB / 0.6879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1664, allocations: 3.984 kB / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1664, allocations: 4 kB / 0.6879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1666, allocations: 186 kB / 0.688 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1666, allocations: 0 / 0.688 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1669, allocations: 43.92 kB / 0.6881 GB, free: 476 kB / 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.0001806/0.1671, allocations: 123.2 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1673, allocations: 63.95 kB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1673, allocations: 0 / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1674, allocations: 39.97 kB / 0.6883 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1678, allocations: 46.86 kB / 0.6884 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.232/0.3999, allocations: 326.3 kB / 0.6887 GB, free: 18.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.4001, allocations: 0.7332 MB / 0.6894 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.4001, allocations: 6.672 kB / 0.6894 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.4002, allocations: 9.781 kB / 0.6894 GB, free: 17.53 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4002, allocations: 0 / 0.6894 GB, free: 17.53 MB / 494.1 MB Notification: Performance of Templates: time 0.004881/0.4051, allocations: 1.786 MB / 0.6911 GB, free: 17.5 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)