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.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001113/0.001113, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 282.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001655, allocations: 97.75 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1473, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002715/0.15, allocations: 1.763 MB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000601/0.1506, allocations: 471.7 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.1507, allocations: 4.531 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.1511, allocations: 139.8 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.1511, allocations: 55.73 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1514, allocations: 47.94 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1515, allocations: 103.4 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.1515, allocations: 11.94 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.1516, allocations: 35.84 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.1517, allocations: 63.75 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1517, allocations: 3.938 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1518, allocations: 91.84 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.1519, allocations: 55.86 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.152, allocations: 67.55 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1522, allocations: 175.4 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1522, allocations: 0 / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.958e-06/0.1522, allocations: 3.938 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1522, allocations: 0 / 0.6826 GB, free: 13.98 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.000484/0.1527, allocations: 474.3 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1528, allocations: 8.031 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1528, allocations: 20.66 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1529, allocations: 219.7 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.153, allocations: 4.375 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.153, allocations: 384 / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1531, allocations: 54.23 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1531, allocations: 3.938 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.1532, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.1532, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1533, allocations: 39.95 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1537, allocations: 316.8 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1539, allocations: 54.42 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.154, allocations: 24.91 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.154, allocations: 8 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.154, allocations: 30.56 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.154, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003406/0.1544, allocations: 113.4 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1544, allocations: 51.41 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1546, allocations: 258.7 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1547, allocations: 33.81 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.1547, allocations: 132.1 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.1548, allocations: 7.906 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1548, allocations: 13.72 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1549, allocations: 334.8 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.155, allocations: 15.98 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.1551, allocations: 27.97 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1552, allocations: 40.83 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1552, allocations: 3.938 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.1554, allocations: 93.31 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1555, allocations: 4 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1555, allocations: 0 / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1555, allocations: 12.02 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.1556, allocations: 19.98 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1556, allocations: 0 / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.1557, allocations: 7.984 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1557, allocations: 0 / 0.6849 GB, free: 11.39 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.742e-05/0.1558, allocations: 143.1 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1558, allocations: 15.81 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.156, allocations: 94.52 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1561, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1561, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1561, allocations: 3.938 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1563, allocations: 213.5 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1563, allocations: 0 / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1564, allocations: 11.98 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1564, allocations: 0 / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1564, allocations: 0 / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1564, allocations: 4.031 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1564, allocations: 4 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1566, allocations: 187.2 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.1567, allocations: 88.92 kB / 0.6857 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1567, allocations: 3.984 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.1568, allocations: 4.031 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1569, allocations: 7.984 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1569, allocations: 0 / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.157, allocations: 193.9 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.157, allocations: 0 / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1573, allocations: 32 kB / 0.6859 GB, free: 10.3 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.0001651/0.1575, allocations: 131.2 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1577, allocations: 43.97 kB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1577, allocations: 0 / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.1578, allocations: 23.97 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1582, allocations: 44.45 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.1587, allocations: 362.4 kB / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.159, allocations: 0.7352 MB / 0.6872 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.859e-05/0.1591, allocations: 7.938 kB / 0.6872 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.1591, allocations: 11.44 kB / 0.6872 GB, free: 8.898 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1591, allocations: 0 / 0.6872 GB, free: 8.898 MB / 494.1 MB Notification: Performance of Templates: time 0.004122/0.1632, allocations: 1.712 MB / 0.6889 GB, free: 7.227 MB / 494.1 MB 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)