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.001231/0.001231, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001191/0.001191, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.221/1.221, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 294.1 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8755/0.8755, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 98.91 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1546, allocations: 86.98 MB / 0.6808 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002723/0.1573, allocations: 1.7 MB / 0.6825 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.158, allocations: 0.5027 MB / 0.683 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.1581, allocations: 0 / 0.683 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.1585, allocations: 151.7 kB / 0.6831 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.1586, allocations: 59.67 kB / 0.6832 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1588, allocations: 59.8 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.159, allocations: 95.56 kB / 0.6833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.159, allocations: 15.94 kB / 0.6834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.1591, allocations: 39.78 kB / 0.6834 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.1592, allocations: 55.69 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1592, allocations: 4 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1593, allocations: 83.86 kB / 0.6835 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.1594, allocations: 51.86 kB / 0.6836 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.1595, allocations: 63.56 kB / 0.6836 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1597, allocations: 191.3 kB / 0.6838 GB, free: 5.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1597, allocations: 4 kB / 0.6838 GB, free: 5.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1597, allocations: 0 / 0.6838 GB, free: 5.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1598, allocations: 0 / 0.6838 GB, free: 5.07 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.0005424/0.1603, allocations: 482.3 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1604, allocations: 8.031 kB / 0.6843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1604, allocations: 20.66 kB / 0.6843 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.1606, allocations: 219.7 kB / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1606, allocations: 384 / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1606, allocations: 384 / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1608, allocations: 70.14 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1608, allocations: 7.938 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1608, allocations: 4 kB / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1608, allocations: 3.938 kB / 0.6846 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.161, allocations: 55.95 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1614, allocations: 328.8 kB / 0.685 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1616, allocations: 70.48 kB / 0.685 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.1617, allocations: 40.83 kB / 0.6851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1617, allocations: 8 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1617, allocations: 30.56 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1617, allocations: 0 / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000367/0.1621, allocations: 133.4 kB / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1622, allocations: 59.39 kB / 0.6853 GB, free: 3.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1624, allocations: 254.7 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1624, allocations: 25.7 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.1625, allocations: 132.1 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.1625, allocations: 3.906 kB / 0.6857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1625, allocations: 17.72 kB / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1626, allocations: 338.9 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.1627, allocations: 31.86 kB / 0.6861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.1628, allocations: 31.97 kB / 0.6861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.163, allocations: 64.81 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.163, allocations: 3.938 kB / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.1632, allocations: 109.5 kB / 0.6863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1632, allocations: 10.03 kB / 0.6863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1632, allocations: 0 / 0.6863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1633, allocations: 0 / 0.6863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.1633, allocations: 4 kB / 0.6863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1633, allocations: 0 / 0.6863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.1634, allocations: 7.984 kB / 0.6863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1634, allocations: 7.969 kB / 0.6863 GB, free: 2.328 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.874e-05/0.1635, allocations: 141.8 kB / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1636, allocations: 19.72 kB / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1638, allocations: 114.5 kB / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1638, allocations: 0 / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1638, allocations: 0 / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1638, allocations: 0 / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.164, allocations: 221.6 kB / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.164, allocations: 0 / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.1641, allocations: 7.984 kB / 0.6868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1641, allocations: 4 kB / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1641, allocations: 0 / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1641, allocations: 0 / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1641, allocations: 0 / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1644, allocations: 211.2 kB / 0.687 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1644, allocations: 96.77 kB / 0.6871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1645, allocations: 4 kB / 0.6871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1646, allocations: 7.984 kB / 0.6871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1646, allocations: 0 / 0.6871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1646, allocations: 0 / 0.6871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1647, allocations: 193.9 kB / 0.6873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1647, allocations: 0 / 0.6873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000252/0.165, allocations: 35.97 kB / 0.6873 GB, free: 1.188 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.0001707/0.1652, allocations: 139.2 kB / 0.6874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1654, allocations: 67.88 kB / 0.6875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1654, allocations: 0 / 0.6875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.1655, allocations: 27.98 kB / 0.6875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1659, allocations: 52.52 kB / 0.6876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.1664, allocations: 364 kB / 0.6879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2523/0.4188, allocations: 0.7295 MB / 0.6886 GB, free: 17.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.4188, allocations: 9.688 kB / 0.6887 GB, free: 17.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4188, allocations: 0 / 0.6887 GB, free: 17.55 MB / 494.1 MB Notification: Performance of Templates: time 0.003838/0.4227, allocations: 1.85 MB / 0.6905 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)