Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, 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.001309/0.001309, 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 286 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 97.88 kB / 0.5967 GB, free: 3.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 86.97 MB / 0.6816 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002816/0.1534, allocations: 1.699 MB / 0.6833 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.1541, allocations: 0.5143 MB / 0.6838 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.1542, allocations: 0 / 0.6838 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1545, allocations: 139.4 kB / 0.6839 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.1546, allocations: 59.73 kB / 0.684 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1548, allocations: 67.78 kB / 0.684 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.155, allocations: 103.4 kB / 0.6841 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.116e-05/0.155, allocations: 11.94 kB / 0.6841 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.155, allocations: 39.84 kB / 0.6842 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.1551, allocations: 47.77 kB / 0.6842 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1551, allocations: 4 kB / 0.6842 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1553, allocations: 83.84 kB / 0.6843 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1554, allocations: 59.78 kB / 0.6844 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1554, allocations: 59.56 kB / 0.6844 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1557, allocations: 191.4 kB / 0.6846 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1557, allocations: 3.938 kB / 0.6846 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1557, allocations: 4 kB / 0.6846 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1557, allocations: 0 / 0.6846 GB, free: 9.301 MB / 0.5294 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.0005259/0.1562, allocations: 483.8 kB / 0.6851 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1563, allocations: 8.031 kB / 0.6851 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1563, allocations: 20.75 kB / 0.6851 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1564, allocations: 215.6 kB / 0.6853 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1565, allocations: 4.375 kB / 0.6853 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1565, allocations: 384 / 0.6853 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1566, allocations: 70.17 kB / 0.6854 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1567, allocations: 3.938 kB / 0.6854 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1567, allocations: 3.938 kB / 0.6854 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1567, allocations: 0 / 0.6854 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1569, allocations: 63.94 kB / 0.6854 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1573, allocations: 324.9 kB / 0.6857 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1574, allocations: 70.42 kB / 0.6858 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.1575, allocations: 36.89 kB / 0.6858 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1575, allocations: 11.98 kB / 0.6859 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1576, allocations: 34.56 kB / 0.6859 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1576, allocations: 0 / 0.6859 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.1579, allocations: 137.3 kB / 0.686 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.158, allocations: 51.41 kB / 0.6861 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1582, allocations: 258.7 kB / 0.6863 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1582, allocations: 29.64 kB / 0.6863 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.1583, allocations: 136.1 kB / 0.6865 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.1583, allocations: 3.906 kB / 0.6865 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1583, allocations: 17.84 kB / 0.6865 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.1584, allocations: 326.8 kB / 0.6868 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.1585, allocations: 31.97 kB / 0.6868 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.1586, allocations: 27.97 kB / 0.6869 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1588, allocations: 68.88 kB / 0.6869 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1588, allocations: 3.938 kB / 0.6869 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.159, allocations: 101.5 kB / 0.687 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.159, allocations: 5.875 kB / 0.687 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.159, allocations: 0 / 0.687 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.159, allocations: 0 / 0.687 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.1591, allocations: 15.92 kB / 0.6871 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1591, allocations: 0 / 0.6871 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.1592, allocations: 12.02 kB / 0.6871 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1592, allocations: 4 kB / 0.6871 GB, free: 6.559 MB / 0.5294 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.325e-05/0.1593, allocations: 134.6 kB / 0.6872 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1593, allocations: 23.7 kB / 0.6872 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1596, allocations: 114.5 kB / 0.6873 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1596, allocations: 0 / 0.6873 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1596, allocations: 0 / 0.6873 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1596, allocations: 8.031 kB / 0.6873 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1598, allocations: 221.5 kB / 0.6875 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1598, allocations: 7.938 kB / 0.6876 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.1599, allocations: 7.984 kB / 0.6876 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1599, allocations: 0 / 0.6876 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1599, allocations: 3.938 kB / 0.6876 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1599, allocations: 8 kB / 0.6876 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1599, allocations: 0 / 0.6876 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1602, allocations: 207.2 kB / 0.6878 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1602, allocations: 92.83 kB / 0.6879 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1603, allocations: 0 / 0.6879 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.1604, allocations: 4 kB / 0.6879 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1604, allocations: 7.984 kB / 0.6879 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1604, allocations: 0 / 0.6879 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001439/0.1605, allocations: 186 kB / 0.688 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1606, allocations: 4.031 kB / 0.6881 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000259/0.1608, allocations: 43.92 kB / 0.6881 GB, free: 5.402 MB / 0.5294 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.0001661/0.161, allocations: 119.2 kB / 0.6882 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1612, allocations: 63.89 kB / 0.6883 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1612, allocations: 0 / 0.6883 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.1613, allocations: 40.03 kB / 0.6883 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1617, allocations: 48.38 kB / 0.6884 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1622, allocations: 342.2 kB / 0.6887 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1625, allocations: 0.7314 MB / 0.6894 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.1625, allocations: 4 kB / 0.6894 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.1626, allocations: 11.44 kB / 0.6894 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1626, allocations: 0 / 0.6894 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.004044/0.1666, allocations: 1.796 MB / 0.6912 GB, free: 2.23 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)