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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> 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.00741/0.007409, allocations: 96.83 kB / 15.73 MB, free: 6.055 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.00191/0.00191, allocations: 197.2 kB / 16.68 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.017/1.017, allocations: 143.3 MB / 433.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 68.03 kB / 0.5953 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3693, allocations: 82.01 MB / 0.6754 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003432/0.3728, allocations: 2.573 MB / 0.6779 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.3738, allocations: 0.6123 MB / 0.6785 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.374, allocations: 6.125 kB / 0.6785 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3742, allocations: 56.23 kB / 0.6785 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.3743, allocations: 75.33 kB / 0.6786 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.3746, allocations: 88.91 kB / 0.6787 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.3749, allocations: 322.4 kB / 0.679 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.3752, allocations: 184.8 kB / 0.6792 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3754, allocations: 111.7 kB / 0.6793 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3756, allocations: 134.5 kB / 0.6794 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.3757, allocations: 27.97 kB / 0.6794 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.3757, allocations: 27.94 kB / 0.6795 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3758, allocations: 67.09 kB / 0.6795 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3759, allocations: 140.1 kB / 0.6797 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3764, allocations: 355.8 kB / 0.68 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3764, allocations: 0 / 0.68 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3764, allocations: 0 / 0.68 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.3764, allocations: 4 kB / 0.68 GB, free: 13.62 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.0009866/0.3774, allocations: 0.5747 MB / 0.6806 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3775, allocations: 9 kB / 0.6806 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.3775, allocations: 54.98 kB / 0.6806 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.3776, allocations: 36.36 kB / 0.6807 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.378, allocations: 285 kB / 0.6809 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.378, allocations: 19.78 kB / 0.6809 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3781, allocations: 27.22 kB / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.3785, allocations: 220.6 kB / 0.6812 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3785, allocations: 0 / 0.6812 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.3786, allocations: 10.41 kB / 0.6812 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3786, allocations: 5.906 kB / 0.6812 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.379, allocations: 170 kB / 0.6814 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.3802, allocations: 0.8773 MB / 0.6822 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.3806, allocations: 119.5 kB / 0.6823 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3808, allocations: 59.33 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3808, allocations: 1.344 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.3808, allocations: 36 kB / 0.6824 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/0.3809, allocations: 0 / 0.6824 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004759/0.3813, allocations: 178.4 kB / 0.6826 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3814, allocations: 57.97 kB / 0.6826 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3817, allocations: 281.3 kB / 0.6829 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3817, allocations: 25.7 kB / 0.6829 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3819, allocations: 171.1 kB / 0.6831 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.382, allocations: 32.12 kB / 0.6831 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.382, allocations: 29.42 kB / 0.6832 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3822, allocations: 332.5 kB / 0.6835 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3823, allocations: 39.52 kB / 0.6835 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.3824, allocations: 36.55 kB / 0.6836 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.3827, allocations: 85.8 kB / 0.6836 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3827, allocations: 1.125 kB / 0.6836 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000292/0.383, allocations: 146.9 kB / 0.6838 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.383, allocations: 4.531 kB / 0.6838 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.383, allocations: 5.281 kB / 0.6838 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.383, allocations: 0 / 0.6838 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3832, allocations: 20.27 kB / 0.6838 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3832, allocations: 13.38 kB / 0.6838 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3833, allocations: 25.38 kB / 0.6838 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3833, allocations: 5.359 kB / 0.6838 GB, free: 10.4 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.000137/0.3835, allocations: 132.8 kB / 0.684 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.3835, allocations: 30.81 kB / 0.684 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.3836, allocations: 28.66 kB / 0.684 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3836, allocations: 1.375 kB / 0.684 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3836, allocations: 7.875 kB / 0.684 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3836, allocations: 1.375 kB / 0.684 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.384, allocations: 284.4 kB / 0.6843 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.384, allocations: 1.375 kB / 0.6843 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3841, allocations: 23.11 kB / 0.6843 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3841, allocations: 384 / 0.6843 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3841, allocations: 1.375 kB / 0.6843 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3841, allocations: 4 kB / 0.6843 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3841, allocations: 5.312 kB / 0.6843 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.3845, allocations: 238.4 kB / 0.6846 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.3846, allocations: 107.7 kB / 0.6847 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3846, allocations: 0 / 0.6847 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3848, allocations: 14.86 kB / 0.6847 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.3849, allocations: 16.05 kB / 0.6847 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.3849, allocations: 1.375 kB / 0.6847 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001949/0.3851, allocations: 205.1 kB / 0.6849 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3851, allocations: 0 / 0.6849 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002667/0.3853, allocations: 45.08 kB / 0.6849 GB, free: 9.453 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.0007192/0.3861, allocations: 0.7679 MB / 0.6857 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3864, allocations: 92.14 kB / 0.6858 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3864, allocations: 0 / 0.6858 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3865, allocations: 48.86 kB / 0.6858 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3869, allocations: 48.16 kB / 0.6859 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3897, allocations: 2.199 MB / 0.688 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3901, allocations: 0.7484 MB / 0.6888 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.3902, allocations: 29.73 kB / 0.6888 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3903, allocations: 77.81 kB / 0.6889 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.3903, allocations: 0 / 0.6889 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.417, allocations: 4.527 MB / 0.6933 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.422, allocations: 12.59 kB / 0.6933 GB, free: 3.652 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)