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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005916/0.005916, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001167/0.001167, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 271 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1662, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002722/0.169, allocations: 1.696 MB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006394/0.1697, allocations: 470.7 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.1697, allocations: 0 / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1701, allocations: 151.4 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.1702, allocations: 55.73 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1705, allocations: 59.8 kB / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1706, allocations: 99.5 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.1707, allocations: 11.94 kB / 0.7688 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.1707, allocations: 35.78 kB / 0.7689 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.1708, allocations: 51.81 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1709, allocations: 0 / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.171, allocations: 91.84 kB / 0.769 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.1711, allocations: 55.8 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.1712, allocations: 63.56 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1715, allocations: 183.3 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1715, allocations: 0 / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1715, allocations: 0 / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1715, allocations: 0 / 0.7693 GB, free: 5.414 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.0006048/0.1721, allocations: 494.1 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1721, allocations: 8.031 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1722, allocations: 16.75 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1724, allocations: 215.7 kB / 0.77 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1724, allocations: 384 / 0.77 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1724, allocations: 8.312 kB / 0.77 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1726, allocations: 50.23 kB / 0.7701 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1726, allocations: 11.92 kB / 0.7701 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1726, allocations: 4 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1726, allocations: 0 / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1728, allocations: 43.89 kB / 0.7701 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1733, allocations: 312.8 kB / 0.7704 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1734, allocations: 50.48 kB / 0.7705 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1735, allocations: 24.91 kB / 0.7705 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.1736, allocations: 7.984 kB / 0.7705 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1736, allocations: 34.56 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1736, allocations: 0 / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003907/0.174, allocations: 117.3 kB / 0.7706 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1741, allocations: 51.41 kB / 0.7707 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1743, allocations: 258.7 kB / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1743, allocations: 25.7 kB / 0.771 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.1744, allocations: 132.1 kB / 0.7711 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1744, allocations: 3.906 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.1745, allocations: 21.7 kB / 0.7711 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1746, allocations: 331 kB / 0.7714 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.1747, allocations: 19.97 kB / 0.7714 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.1748, allocations: 19.98 kB / 0.7715 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1749, allocations: 48.75 kB / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1749, allocations: 3.938 kB / 0.7715 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002076/0.1751, allocations: 93.53 kB / 0.7716 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1752, allocations: 8 kB / 0.7716 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1752, allocations: 0 / 0.7716 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1752, allocations: 0 / 0.7716 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.1753, allocations: 7.984 kB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1753, allocations: 0 / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1754, allocations: 7.938 kB / 0.7716 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1754, allocations: 4 kB / 0.7716 GB, free: 2.809 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.21e-05/0.1755, allocations: 142.4 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1755, allocations: 19.72 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1758, allocations: 98.45 kB / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1758, allocations: 0 / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1758, allocations: 4 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1758, allocations: 3.938 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.176, allocations: 205.6 kB / 0.7721 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.176, allocations: 8.016 kB / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.1761, allocations: 4 kB / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1761, allocations: 4 kB / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.1761, allocations: 0 / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1761, allocations: 0 / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1761, allocations: 0 / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1763, allocations: 195.2 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1764, allocations: 92.83 kB / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1764, allocations: 0 / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.1765, allocations: 11.98 kB / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.1766, allocations: 4 kB / 0.7724 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1766, allocations: 0 / 0.7724 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001584/0.1767, allocations: 189.9 kB / 0.7726 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1767, allocations: 0 / 0.7726 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002568/0.177, allocations: 28 kB / 0.7726 GB, free: 1.715 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.0001776/0.1772, allocations: 127.2 kB / 0.7727 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1774, allocations: 43.95 kB / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1774, allocations: 0 / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1776, allocations: 27.92 kB / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.178, allocations: 60.44 kB / 0.7728 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.1785, allocations: 310.4 kB / 0.7731 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1788, allocations: 0.7392 MB / 0.7739 GB, free: 364 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.1789, allocations: 11.73 kB / 0.7739 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.1789, allocations: 11.44 kB / 0.7739 GB, free: 340 kB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.1789, allocations: 0 / 0.7739 GB, free: 340 kB / 0.5606 GB Notification: Performance of Templates: time 0.3097/0.4886, allocations: 1.758 MB / 0.7756 GB, free: 14.89 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)