Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009652, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001198/0.001198, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8623/0.8623, allocations: 143 MB / 433.1 MB, free: 11.59 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.89 kB / 0.5138 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1576, allocations: 82.04 MB / 0.5939 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003825/0.1614, allocations: 2.609 MB / 0.5964 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.1624, allocations: 0.5882 MB / 0.597 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1625, allocations: 11.94 kB / 0.597 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1627, allocations: 35.7 kB / 0.5971 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1629, allocations: 63.47 kB / 0.5971 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1631, allocations: 75.94 kB / 0.5972 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.1634, allocations: 322.7 kB / 0.5975 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.1637, allocations: 177.4 kB / 0.5977 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1639, allocations: 115.6 kB / 0.5978 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1641, allocations: 135.3 kB / 0.5979 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1641, allocations: 28 kB / 0.5979 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.875e-05/0.1642, allocations: 28 kB / 0.598 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.1642, allocations: 59.77 kB / 0.598 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1643, allocations: 147.3 kB / 0.5982 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1646, allocations: 342.8 kB / 0.5985 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1646, allocations: 0 / 0.5985 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1647, allocations: 0 / 0.5985 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.1647, allocations: 0 / 0.5985 GB, free: 5.16 MB / 0.4981 GB 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.0007657/0.1654, allocations: 0.5652 MB / 0.599 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1655, allocations: 12.03 kB / 0.599 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.1655, allocations: 54.73 kB / 0.5991 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.1656, allocations: 44.47 kB / 0.5991 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1659, allocations: 271.7 kB / 0.5994 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1659, allocations: 20.94 kB / 0.5994 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.166, allocations: 20.38 kB / 0.5994 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.1664, allocations: 225 kB / 0.5997 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1664, allocations: 0 / 0.5997 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.1664, allocations: 12 kB / 0.5997 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1664, allocations: 7.984 kB / 0.5997 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1668, allocations: 166.2 kB / 0.5998 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1679, allocations: 0.8832 MB / 0.6007 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.1682, allocations: 114.7 kB / 0.6008 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1683, allocations: 57.02 kB / 0.6009 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1684, allocations: 0 / 0.6009 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1684, allocations: 38.56 kB / 0.6009 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1684, allocations: 0 / 0.6009 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004119/0.1688, allocations: 173.2 kB / 0.6011 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1689, allocations: 55.41 kB / 0.6011 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.1691, allocations: 279 kB / 0.6014 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1692, allocations: 25.7 kB / 0.6014 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1693, allocations: 180 kB / 0.6016 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1693, allocations: 27.56 kB / 0.6016 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.1694, allocations: 29.7 kB / 0.6016 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1695, allocations: 330.8 kB / 0.6019 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.1696, allocations: 35.98 kB / 0.602 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/0.1697, allocations: 39.97 kB / 0.602 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1699, allocations: 96.88 kB / 0.6021 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.1699, allocations: 3.984 kB / 0.6021 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002529/0.1701, allocations: 129.4 kB / 0.6022 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1702, allocations: 8 kB / 0.6022 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1702, allocations: 0 / 0.6022 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1702, allocations: 3.984 kB / 0.6022 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1703, allocations: 19.98 kB / 0.6023 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1703, allocations: 3.938 kB / 0.6023 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1705, allocations: 31.83 kB / 0.6023 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1705, allocations: 0 / 0.6023 GB, free: 0.9766 MB / 0.4981 GB 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.0001165/0.1706, allocations: 137.8 kB / 0.6024 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.1707, allocations: 27.62 kB / 0.6025 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.1707, allocations: 29.77 kB / 0.6025 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1707, allocations: 4 kB / 0.6025 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1707, allocations: 7.938 kB / 0.6025 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1707, allocations: 0 / 0.6025 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.171, allocations: 289.4 kB / 0.6028 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.171, allocations: 4 kB / 0.6028 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1712, allocations: 23.92 kB / 0.6028 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1712, allocations: 0 / 0.6028 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1712, allocations: 0 / 0.6028 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1712, allocations: 3.984 kB / 0.6028 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1712, allocations: 3.938 kB / 0.6028 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1715, allocations: 239.5 kB / 0.603 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1716, allocations: 100.8 kB / 0.6031 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1716, allocations: 0 / 0.6031 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1717, allocations: 11.98 kB / 0.6031 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1718, allocations: 15.92 kB / 0.6032 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2216/0.3934, allocations: 0 / 0.6032 GB, free: 0 / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002777/0.3937, allocations: 201.9 kB / 0.6034 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3937, allocations: 0 / 0.6034 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003688/0.3941, allocations: 48.53 kB / 0.6034 GB, free: 44.06 MB / 0.4981 GB 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.0005543/0.3946, allocations: 0.7625 MB / 0.6041 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.3949, allocations: 92.92 kB / 0.6042 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.395, allocations: 0.5312 kB / 0.6042 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3951, allocations: 51.89 kB / 0.6043 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.3955, allocations: 42.02 kB / 0.6043 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.3978, allocations: 2.275 MB / 0.6065 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.398, allocations: 0.7523 MB / 0.6073 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.3981, allocations: 24.61 kB / 0.6073 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3982, allocations: 80.8 kB / 0.6074 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.3982, allocations: 0.7656 kB / 0.6074 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.4118, allocations: 4.299 MB / 0.6116 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.412, allocations: 213.1 kB / 0.6118 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.078, allocations: 5.344 kB / 0.6118 GB, free: 40.8 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)