Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 115.6 kB / 16.37 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.0009752/0.0009752, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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: 280.5 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9052/0.9052, allocations: 169.3 MB / 0.4989 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 98.56 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1522, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003069/0.1553, allocations: 1.712 MB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1567, allocations: 0.9897 MB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.1567, allocations: 4 kB / 0.6842 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.1571, allocations: 147.4 kB / 0.6844 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.1573, allocations: 59.61 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1575, allocations: 107.6 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1577, allocations: 95.56 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.1577, allocations: 15.92 kB / 0.6847 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.1578, allocations: 39.8 kB / 0.6847 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.1579, allocations: 51.75 kB / 0.6847 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1579, allocations: 4 kB / 0.6847 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.1582, allocations: 147.7 kB / 0.6849 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.1582, allocations: 55.81 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.1583, allocations: 63.55 kB / 0.685 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.1586, allocations: 235.2 kB / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1586, allocations: 0 / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1586, allocations: 3.984 kB / 0.6852 GB, free: 3.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1586, allocations: 0 / 0.6852 GB, free: 3.742 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.0005543/0.1592, allocations: 494.2 kB / 0.6857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1592, allocations: 8.031 kB / 0.6857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1593, allocations: 24.66 kB / 0.6857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1595, allocations: 223.6 kB / 0.6859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1595, allocations: 4.375 kB / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1595, allocations: 384 / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1597, allocations: 61.8 kB / 0.686 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1597, allocations: 4 kB / 0.686 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.1597, allocations: 7.875 kB / 0.686 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1597, allocations: 0 / 0.686 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1599, allocations: 59.95 kB / 0.6861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1604, allocations: 336.8 kB / 0.6864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1605, allocations: 66.55 kB / 0.6865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.1606, allocations: 36.89 kB / 0.6865 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.1606, allocations: 11.98 kB / 0.6865 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1607, allocations: 34.5 kB / 0.6865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1607, allocations: 0 / 0.6865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003672/0.161, allocations: 137.4 kB / 0.6867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1611, allocations: 51.41 kB / 0.6867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1613, allocations: 258.7 kB / 0.687 GB, free: 1.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1613, allocations: 25.7 kB / 0.687 GB, free: 1.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1614, allocations: 140 kB / 0.6871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1614, allocations: 3.984 kB / 0.6871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1615, allocations: 13.72 kB / 0.6871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1616, allocations: 334.9 kB / 0.6875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.1617, allocations: 31.97 kB / 0.6875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1618, allocations: 27.97 kB / 0.6875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1619, allocations: 68.75 kB / 0.6876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.162, allocations: 0 / 0.6876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.1622, allocations: 109.4 kB / 0.6877 GB, free: 1.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1622, allocations: 4 kB / 0.6877 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1622, allocations: 4 kB / 0.6877 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1622, allocations: 0 / 0.6877 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.1623, allocations: 7.984 kB / 0.6877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1623, allocations: 0 / 0.6877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.1624, allocations: 11.98 kB / 0.6877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1624, allocations: 0 / 0.6877 GB, free: 0.9805 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 8.963e-05/0.1625, allocations: 142.5 kB / 0.6878 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.1625, allocations: 19.8 kB / 0.6879 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1628, allocations: 122.3 kB / 0.688 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1628, allocations: 0 / 0.688 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1628, allocations: 0 / 0.688 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1628, allocations: 0 / 0.688 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.163, allocations: 221.5 kB / 0.6882 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.163, allocations: 11.97 kB / 0.6882 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.1631, allocations: 15.92 kB / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1631, allocations: 0 / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1631, allocations: 0 / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1631, allocations: 0 / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1631, allocations: 0 / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.1634, allocations: 215.2 kB / 0.6884 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.1635, allocations: 92.83 kB / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1635, allocations: 0 / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.1636, allocations: 4 kB / 0.6885 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1636, allocations: 3.984 kB / 0.6885 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1636, allocations: 0 / 0.6885 GB, free: 44 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2491/0.4127, allocations: 188.2 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4128, allocations: 0 / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000454/0.4132, allocations: 55.41 kB / 0.6888 GB, free: 18.24 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.0002512/0.4135, allocations: 146.8 kB / 0.6889 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.4138, allocations: 62.67 kB / 0.689 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4138, allocations: 2.531 kB / 0.689 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.441e-05/0.4139, allocations: 32 kB / 0.689 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.4143, allocations: 44.05 kB / 0.689 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.4148, allocations: 329.1 kB / 0.6893 GB, free: 17.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.415, allocations: 0.7381 MB / 0.6901 GB, free: 17.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.4151, allocations: 6.047 kB / 0.6901 GB, free: 17.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4151, allocations: 10.66 kB / 0.6901 GB, free: 17.29 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4151, allocations: 0 / 0.6901 GB, free: 17.29 MB / 494.1 MB Notification: Performance of Templates: time 0.005177/0.4203, allocations: 1.936 MB / 0.692 GB, free: 17.23 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)