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.001087/0.001087, allocations: 107.2 kB / 16.35 MB, free: 5.824 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.001129/0.00113, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 288.5 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.913/0.913, allocations: 169.2 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 91.28 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002566/0.1571, allocations: 1.708 MB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.1578, allocations: 0.5105 MB / 0.6838 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1578, allocations: 3.938 kB / 0.6838 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1581, allocations: 143.5 kB / 0.6839 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.009e-05/0.1582, allocations: 55.67 kB / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1584, allocations: 63.8 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1586, allocations: 99.55 kB / 0.6841 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1586, allocations: 15.92 kB / 0.6841 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1587, allocations: 39.78 kB / 0.6842 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.1588, allocations: 47.77 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1588, allocations: 8 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.159, allocations: 91.83 kB / 0.6843 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.159, allocations: 51.81 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.1591, allocations: 67.59 kB / 0.6844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1593, allocations: 191.2 kB / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1593, allocations: 0 / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1594, allocations: 4 kB / 0.6846 GB, free: 4.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1594, allocations: 0 / 0.6846 GB, free: 4.367 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.0005143/0.1599, allocations: 470.3 kB / 0.685 GB, free: 3.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1599, allocations: 16.03 kB / 0.6851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.16, allocations: 24.66 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1601, allocations: 215.7 kB / 0.6853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1601, allocations: 384 / 0.6853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1601, allocations: 384 / 0.6853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1603, allocations: 66.16 kB / 0.6854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1603, allocations: 7.938 kB / 0.6854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1603, allocations: 4 kB / 0.6854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1604, allocations: 0 / 0.6854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1605, allocations: 63.89 kB / 0.6854 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.1609, allocations: 328.8 kB / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1611, allocations: 66.48 kB / 0.6858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.1612, allocations: 40.89 kB / 0.6858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.1612, allocations: 8 kB / 0.6859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1612, allocations: 34.55 kB / 0.6859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1613, allocations: 0 / 0.6859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.1616, allocations: 133.4 kB / 0.686 GB, free: 2.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1616, allocations: 55.53 kB / 0.6861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1619, allocations: 254.7 kB / 0.6863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1619, allocations: 33.69 kB / 0.6863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.162, allocations: 128.1 kB / 0.6865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.162, allocations: 3.906 kB / 0.6865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.162, allocations: 21.66 kB / 0.6865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.1621, allocations: 330.8 kB / 0.6868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.1622, allocations: 27.98 kB / 0.6868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.1623, allocations: 35.97 kB / 0.6869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1624, allocations: 64.75 kB / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1625, allocations: 3.938 kB / 0.6869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.1627, allocations: 105.5 kB / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1627, allocations: 8.094 kB / 0.687 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1627, allocations: 4 kB / 0.687 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.1627, allocations: 0 / 0.687 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.1628, allocations: 7.984 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1628, allocations: 0 / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.1629, allocations: 7.906 kB / 0.6871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1629, allocations: 4 kB / 0.6871 GB, free: 1.633 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.135e-05/0.163, allocations: 137.8 kB / 0.6872 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.163, allocations: 15.81 kB / 0.6872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.1633, allocations: 118.4 kB / 0.6873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1633, allocations: 4 kB / 0.6873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1633, allocations: 0 / 0.6873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1633, allocations: 0 / 0.6873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1635, allocations: 221.5 kB / 0.6875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1635, allocations: 0 / 0.6875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.1635, allocations: 7.984 kB / 0.6875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1636, allocations: 8.031 kB / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-06/0.1636, allocations: 0 / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1636, allocations: 3.938 kB / 0.6876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1636, allocations: 0 / 0.6876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1638, allocations: 211.1 kB / 0.6878 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1639, allocations: 92.91 kB / 0.6878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1639, allocations: 4.031 kB / 0.6878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.164, allocations: 11.98 kB / 0.6879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.1641, allocations: 4 kB / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1641, allocations: 0 / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1642, allocations: 189.9 kB / 0.688 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 4 kB / 0.688 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1645, allocations: 35.94 kB / 0.6881 GB, free: 492 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.0001653/0.1646, allocations: 135.2 kB / 0.6882 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1649, allocations: 63.95 kB / 0.6883 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1649, allocations: 0 / 0.6883 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.165, allocations: 35.91 kB / 0.6883 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1653, allocations: 44.53 kB / 0.6883 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2311/0.3965, allocations: 323.1 kB / 0.6887 GB, free: 18.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.3967, allocations: 0.7331 MB / 0.6894 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.3968, allocations: 5.031 kB / 0.6894 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.3968, allocations: 11.97 kB / 0.6894 GB, free: 17.5 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3968, allocations: 0.75 kB / 0.6894 GB, free: 17.5 MB / 494.1 MB Notification: Performance of Templates: time 0.004725/0.4015, allocations: 1.787 MB / 0.6911 GB, free: 17.46 MB / 494.1 MB 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)