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.006479/0.006479, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001344/0.001344, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 1.036/1.036, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 0.595 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4616, allocations: 82.03 MB / 0.6751 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003672/0.4653, allocations: 2.565 MB / 0.6776 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4666, allocations: 0.617 MB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.4669, allocations: 9.75 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.4671, allocations: 51.58 kB / 0.6783 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.4673, allocations: 67.55 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.4676, allocations: 97.16 kB / 0.6784 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.468, allocations: 324.5 kB / 0.6788 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.4683, allocations: 184 kB / 0.6789 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.4685, allocations: 120.5 kB / 0.679 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.4687, allocations: 129.9 kB / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.4687, allocations: 28.81 kB / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.481e-05/0.4688, allocations: 27.72 kB / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.4689, allocations: 58.22 kB / 0.6793 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.469, allocations: 148.2 kB / 0.6794 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.4694, allocations: 347.9 kB / 0.6797 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4695, allocations: 3.984 kB / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4695, allocations: 0 / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4695, allocations: 4.844 kB / 0.6798 GB, free: 13.5 MB / 0.5137 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.0008195/0.4703, allocations: 0.5695 MB / 0.6803 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4704, allocations: 10.28 kB / 0.6803 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.4704, allocations: 61.94 kB / 0.6804 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.4705, allocations: 37.05 kB / 0.6804 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.4709, allocations: 285.2 kB / 0.6807 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.4709, allocations: 19.22 kB / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.471, allocations: 23.81 kB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.4714, allocations: 220 kB / 0.6809 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4715, allocations: 0 / 0.6809 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.4715, allocations: 14.44 kB / 0.681 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.4715, allocations: 5.469 kB / 0.681 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.4719, allocations: 166.7 kB / 0.6811 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.4731, allocations: 0.8852 MB / 0.682 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.4736, allocations: 119.1 kB / 0.6821 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.4737, allocations: 55.5 kB / 0.6821 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4738, allocations: 5.062 kB / 0.6822 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.4738, allocations: 35.61 kB / 0.6822 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.4738, allocations: 1.188 kB / 0.6822 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000503/0.4743, allocations: 174 kB / 0.6824 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4744, allocations: 56.61 kB / 0.6824 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.4747, allocations: 278.3 kB / 0.6827 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4747, allocations: 25.7 kB / 0.6827 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4748, allocations: 171.7 kB / 0.6829 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.4749, allocations: 36.2 kB / 0.6829 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.4749, allocations: 20.47 kB / 0.6829 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.475, allocations: 336.2 kB / 0.6832 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.4752, allocations: 43.69 kB / 0.6833 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4753, allocations: 36.73 kB / 0.6833 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.4755, allocations: 86.17 kB / 0.6834 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4755, allocations: 0 / 0.6834 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003039/0.4758, allocations: 147.3 kB / 0.6835 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4759, allocations: 5.406 kB / 0.6835 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4759, allocations: 4 kB / 0.6835 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4759, allocations: 1.344 kB / 0.6835 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.476, allocations: 21.14 kB / 0.6836 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4761, allocations: 3.938 kB / 0.6836 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.4762, allocations: 24.75 kB / 0.6836 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4762, allocations: 2.125 kB / 0.6836 GB, free: 10.29 MB / 0.5137 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.0001375/0.4764, allocations: 137 kB / 0.6837 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.4764, allocations: 30.78 kB / 0.6838 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.4765, allocations: 29.38 kB / 0.6838 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4765, allocations: 1.031 kB / 0.6838 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4765, allocations: 7.875 kB / 0.6838 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4765, allocations: 4.922 kB / 0.6838 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.4769, allocations: 289.3 kB / 0.6841 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4769, allocations: 0 / 0.6841 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.477, allocations: 19.05 kB / 0.6841 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.477, allocations: 0.9375 kB / 0.6841 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4771, allocations: 0.5938 kB / 0.6841 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4771, allocations: 5.281 kB / 0.6841 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4771, allocations: 3.938 kB / 0.6841 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.4774, allocations: 231.2 kB / 0.6843 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.4775, allocations: 107.6 kB / 0.6844 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.4775, allocations: 4 kB / 0.6844 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.4777, allocations: 11.27 kB / 0.6844 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.4778, allocations: 19.89 kB / 0.6845 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4778, allocations: 10.22 kB / 0.6845 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001821/0.478, allocations: 199.2 kB / 0.6847 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.478, allocations: 5.094 kB / 0.6847 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002819/0.4783, allocations: 41.05 kB / 0.6847 GB, free: 9.332 MB / 0.5137 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.0005833/0.4789, allocations: 0.767 MB / 0.6855 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.4792, allocations: 92.14 kB / 0.6855 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4792, allocations: 1.375 kB / 0.6855 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.4793, allocations: 51.59 kB / 0.6856 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4797, allocations: 38 kB / 0.6856 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4825, allocations: 2.204 MB / 0.6878 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4829, allocations: 0.7526 MB / 0.6885 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.4831, allocations: 24.94 kB / 0.6885 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4832, allocations: 85.42 kB / 0.6886 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of SimCode: time 1.001e-06/0.4832, allocations: 0 / 0.6886 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.5057, allocations: 4.516 MB / 0.693 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.059/9.565, allocations: 10.72 kB / 0.693 GB, free: 3.715 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)