Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7227/0.7227, allocations: 131 MB / 146.3 MB, free: 1.309 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 179.5 kB / 176.4 MB, free: 4.891 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.7 MB / 431.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009353, allocations: 101.4 kB / 0.5003 GB, free: 9.934 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 11.62 kB / 0.5885 GB, free: 72.72 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 79.59 MB / 0.6662 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002794/0.1562, allocations: 2.156 MB / 0.6684 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.1571, allocations: 0.5846 MB / 0.6689 GB, free: 6.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1572, allocations: 7.938 kB / 0.6689 GB, free: 6.191 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1574, allocations: 39.64 kB / 0.669 GB, free: 6.152 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.1575, allocations: 55.55 kB / 0.669 GB, free: 6.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1577, allocations: 79.88 kB / 0.6691 GB, free: 6.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.158, allocations: 306.7 kB / 0.6694 GB, free: 5.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.1583, allocations: 157.1 kB / 0.6695 GB, free: 5.566 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1584, allocations: 99.5 kB / 0.6696 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1586, allocations: 107.4 kB / 0.6697 GB, free: 5.363 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.1586, allocations: 12 kB / 0.6697 GB, free: 5.352 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.1587, allocations: 8 kB / 0.6698 GB, free: 5.344 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.1587, allocations: 35.8 kB / 0.6698 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1588, allocations: 145 kB / 0.6699 GB, free: 5.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1591, allocations: 311 kB / 0.6702 GB, free: 4.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1591, allocations: 0 / 0.6702 GB, free: 4.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1591, allocations: 0 / 0.6702 GB, free: 4.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1591, allocations: 4 kB / 0.6702 GB, free: 4.852 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007229/0.1599, allocations: 0.5186 MB / 0.6707 GB, free: 4.285 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1599, allocations: 12.03 kB / 0.6707 GB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.16, allocations: 40.47 kB / 0.6708 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1603, allocations: 271.6 kB / 0.671 GB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1603, allocations: 24.94 kB / 0.6711 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1603, allocations: 20.36 kB / 0.6711 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.1608, allocations: 225.2 kB / 0.6713 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1608, allocations: 0 / 0.6713 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1608, allocations: 8 kB / 0.6713 GB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1608, allocations: 8 kB / 0.6713 GB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.1612, allocations: 178.1 kB / 0.6715 GB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.1623, allocations: 0.8872 MB / 0.6724 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.1627, allocations: 126.7 kB / 0.6725 GB, free: 2.363 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1628, allocations: 48.84 kB / 0.6725 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1629, allocations: 8 kB / 0.6725 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1629, allocations: 30.56 kB / 0.6726 GB, free: 2.266 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1629, allocations: 3.938 kB / 0.6726 GB, free: 2.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004268/0.1633, allocations: 181.5 kB / 0.6727 GB, free: 2.078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1634, allocations: 51.41 kB / 0.6728 GB, free: 2.016 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1636, allocations: 279 kB / 0.6731 GB, free: 1.734 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1636, allocations: 29.7 kB / 0.6731 GB, free: 1.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1638, allocations: 172 kB / 0.6732 GB, free: 1.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1638, allocations: 35.55 kB / 0.6733 GB, free: 1.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.1638, allocations: 4 kB / 0.6733 GB, free: 1.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1639, allocations: 334.8 kB / 0.6736 GB, free: 1.152 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.164, allocations: 47.91 kB / 0.6736 GB, free: 1.105 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.1641, allocations: 39.98 kB / 0.6737 GB, free: 1.066 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1643, allocations: 96.77 kB / 0.6738 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1643, allocations: 0 / 0.6738 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002555/0.1646, allocations: 141.4 kB / 0.6739 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1646, allocations: 8 kB / 0.6739 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1646, allocations: 3.938 kB / 0.6739 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1647, allocations: 3.984 kB / 0.6739 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1648, allocations: 31.92 kB / 0.674 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1648, allocations: 0 / 0.674 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.165, allocations: 27.77 kB / 0.674 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.165, allocations: 8 kB / 0.674 GB, free: 0.7422 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001121/0.1651, allocations: 133.8 kB / 0.6741 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1651, allocations: 27.7 kB / 0.6741 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1652, allocations: 21.8 kB / 0.6742 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1652, allocations: 7.984 kB / 0.6742 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1652, allocations: 0 / 0.6742 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1652, allocations: 3.938 kB / 0.6742 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1655, allocations: 289.4 kB / 0.6745 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1655, allocations: 4 kB / 0.6745 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1656, allocations: 23.98 kB / 0.6745 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1657, allocations: 0 / 0.6745 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1657, allocations: 0 / 0.6745 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1657, allocations: 4 kB / 0.6745 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1657, allocations: 4.312 kB / 0.6745 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.166, allocations: 243.3 kB / 0.6747 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1661, allocations: 104.8 kB / 0.6748 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1661, allocations: 3.938 kB / 0.6748 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1663, allocations: 15.98 kB / 0.6748 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.1663, allocations: 15.92 kB / 0.6749 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1663, allocations: 0 / 0.6749 GB, free: 15.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1665, allocations: 202 kB / 0.675 GB, free: 15.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1665, allocations: 0 / 0.675 GB, free: 15.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.1668, allocations: 51.84 kB / 0.6751 GB, free: 15.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001009/0.1669, allocations: 99.25 kB / 0.6752 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.1672, allocations: 99.89 kB / 0.6753 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1672, allocations: 4 kB / 0.6753 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1673, allocations: 55.91 kB / 0.6753 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1677, allocations: 32.88 kB / 0.6754 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.1683, allocations: 0.5077 MB / 0.6759 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1686, allocations: 0.7479 MB / 0.6766 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.729e-05/0.1687, allocations: 29.92 kB / 0.6766 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1688, allocations: 19.44 kB / 0.6766 GB, free: 13.86 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1688, allocations: 0 / 0.6766 GB, free: 13.86 MB / 458.7 MB Notification: Performance of Templates: time 0.004785/0.1736, allocations: 2.019 MB / 0.6786 GB, free: 11.86 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & ./BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)