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: 119.8 kB / 16.37 MB, free: 6.016 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.001055/0.001056, allocations: 193 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.251/1.251, 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.002036/0.002036, allocations: 290.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9057/0.9057, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 90.27 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1505, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.00263/0.1532, allocations: 1.696 MB / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.1539, allocations: 0.5143 MB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.1539, allocations: 0 / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1543, allocations: 147.5 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.1543, allocations: 51.67 kB / 0.684 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1546, allocations: 71.78 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1547, allocations: 99.5 kB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1548, allocations: 11.88 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.1548, allocations: 35.84 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.1549, allocations: 55.77 kB / 0.6842 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1549, allocations: 0 / 0.6842 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1551, allocations: 91.83 kB / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.1552, allocations: 55.8 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.1552, allocations: 63.56 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.1555, allocations: 191.4 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1555, allocations: 0 / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1555, allocations: 0 / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1555, allocations: 3.938 kB / 0.6846 GB, free: 4.344 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.0005103/0.156, allocations: 478.3 kB / 0.6851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1561, allocations: 8.031 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1561, allocations: 20.66 kB / 0.6851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1563, allocations: 219.7 kB / 0.6853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1563, allocations: 384 / 0.6853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1563, allocations: 4.375 kB / 0.6853 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1565, allocations: 62.17 kB / 0.6854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1565, allocations: 3.938 kB / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1565, allocations: 0 / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1565, allocations: 7.984 kB / 0.6854 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1567, allocations: 63.88 kB / 0.6854 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.1571, allocations: 336.8 kB / 0.6858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1573, allocations: 66.42 kB / 0.6858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.1573, allocations: 36.91 kB / 0.6859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1574, allocations: 11.98 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1574, allocations: 30.56 kB / 0.6859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1574, allocations: 0 / 0.6859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000341/0.1578, allocations: 137.5 kB / 0.686 GB, free: 2.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1578, allocations: 51.41 kB / 0.6861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.158, allocations: 258.7 kB / 0.6863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.158, allocations: 25.7 kB / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.1581, allocations: 128.1 kB / 0.6865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.1581, allocations: 11.89 kB / 0.6865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.1582, allocations: 17.66 kB / 0.6865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.1583, allocations: 330.8 kB / 0.6868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.1584, allocations: 32 kB / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.1584, allocations: 27.98 kB / 0.6869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1586, allocations: 64.8 kB / 0.6869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1586, allocations: 7.938 kB / 0.6869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.1588, allocations: 109.5 kB / 0.687 GB, free: 1.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1588, allocations: 4 kB / 0.6871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1589, allocations: 0 / 0.6871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1589, allocations: 0 / 0.6871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.159, allocations: 11.98 kB / 0.6871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.159, allocations: 3.938 kB / 0.6871 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.159, allocations: 7.984 kB / 0.6871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.159, allocations: 0 / 0.6871 GB, free: 1.605 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.53e-05/0.1591, allocations: 137.8 kB / 0.6872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1592, allocations: 23.72 kB / 0.6872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.1594, allocations: 110.5 kB / 0.6873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1594, allocations: 0 / 0.6873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1594, allocations: 3.938 kB / 0.6873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1594, allocations: 0 / 0.6873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1596, allocations: 221.5 kB / 0.6875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1597, allocations: 0 / 0.6875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.1597, allocations: 12.03 kB / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1597, allocations: 7.922 kB / 0.6876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1597, allocations: 0 / 0.6876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1597, allocations: 0 / 0.6876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1597, allocations: 3.938 kB / 0.6876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.16, allocations: 203.3 kB / 0.6878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.16, allocations: 100.8 kB / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1601, allocations: 0 / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.1602, allocations: 4 kB / 0.6879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1602, allocations: 3.984 kB / 0.6879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1602, allocations: 0 / 0.6879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1604, allocations: 190 kB / 0.688 GB, free: 0.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1604, allocations: 0 / 0.688 GB, free: 0.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1606, allocations: 43.92 kB / 0.6881 GB, free: 468 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.000172/0.1608, allocations: 130 kB / 0.6882 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.161, allocations: 63.89 kB / 0.6883 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.161, allocations: 0 / 0.6883 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.1611, allocations: 31.97 kB / 0.6883 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1615, allocations: 56.5 kB / 0.6884 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2272/0.3888, allocations: 322.9 kB / 0.6887 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.389, allocations: 0.7324 MB / 0.6894 GB, free: 17.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.389, allocations: 7.625 kB / 0.6894 GB, free: 17.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.3891, allocations: 10.47 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3891, allocations: 0 / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of Templates: time 0.004683/0.3938, allocations: 1.788 MB / 0.6911 GB, free: 17.42 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)