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.007418/0.007418, allocations: 100.9 kB / 15.73 MB, free: 6 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.001771/0.001772, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.043/1.043, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 0.5953 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4003, allocations: 82.03 MB / 0.6754 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003453/0.4038, allocations: 2.569 MB / 0.6779 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.4048, allocations: 0.6165 MB / 0.6785 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.4049, allocations: 9.625 kB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.4051, allocations: 51.23 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.4053, allocations: 71.36 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.4055, allocations: 85.61 kB / 0.6787 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.4059, allocations: 327.2 kB / 0.679 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.4062, allocations: 172.4 kB / 0.6792 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.4063, allocations: 127.4 kB / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.4065, allocations: 130.6 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.4066, allocations: 28.22 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.4066, allocations: 27.41 kB / 0.6795 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.4067, allocations: 63.61 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.4068, allocations: 139.9 kB / 0.6797 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.4072, allocations: 355 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4072, allocations: 1.219 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4072, allocations: 0 / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.4072, allocations: 0 / 0.68 GB, free: 13.3 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.0008135/0.4081, allocations: 0.5699 MB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4081, allocations: 13.77 kB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.4082, allocations: 58.83 kB / 0.6806 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.4082, allocations: 36.95 kB / 0.6807 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.4086, allocations: 285.1 kB / 0.6809 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4086, allocations: 18.5 kB / 0.681 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.4087, allocations: 24.16 kB / 0.681 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.4091, allocations: 219.6 kB / 0.6812 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4091, allocations: 3.984 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.4091, allocations: 10.22 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4091, allocations: 6.5 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.4095, allocations: 169.5 kB / 0.6814 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.4107, allocations: 0.8821 MB / 0.6822 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.4111, allocations: 119.1 kB / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4112, allocations: 51.94 kB / 0.6824 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4112, allocations: 9.031 kB / 0.6824 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4113, allocations: 35.61 kB / 0.6824 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4113, allocations: 0 / 0.6824 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004586/0.4117, allocations: 174.5 kB / 0.6826 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4118, allocations: 57.66 kB / 0.6827 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.4121, allocations: 277.5 kB / 0.6829 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4121, allocations: 25.7 kB / 0.6829 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.4122, allocations: 172.2 kB / 0.6831 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.4123, allocations: 39.09 kB / 0.6831 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.4123, allocations: 21.59 kB / 0.6832 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4125, allocations: 335.5 kB / 0.6835 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4126, allocations: 43.88 kB / 0.6835 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.4127, allocations: 32.92 kB / 0.6836 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.4129, allocations: 87.02 kB / 0.6836 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4129, allocations: 0 / 0.6836 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002786/0.4132, allocations: 151.2 kB / 0.6838 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4132, allocations: 4.125 kB / 0.6838 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4132, allocations: 1.375 kB / 0.6838 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4133, allocations: 4 kB / 0.6838 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4134, allocations: 20.48 kB / 0.6838 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4134, allocations: 9.297 kB / 0.6838 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4135, allocations: 28.06 kB / 0.6839 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.4136, allocations: 6.75 kB / 0.6839 GB, free: 10.07 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.0001182/0.4137, allocations: 128.8 kB / 0.684 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.4137, allocations: 26.81 kB / 0.684 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.4138, allocations: 32.66 kB / 0.684 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4138, allocations: 1.375 kB / 0.684 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4138, allocations: 3.938 kB / 0.684 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4138, allocations: 5.359 kB / 0.684 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.4141, allocations: 284.4 kB / 0.6843 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4141, allocations: 1.375 kB / 0.6843 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.4143, allocations: 19.11 kB / 0.6843 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4143, allocations: 0 / 0.6843 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4143, allocations: 1.75 kB / 0.6843 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4143, allocations: 0 / 0.6843 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4143, allocations: 9.312 kB / 0.6843 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.4146, allocations: 234.4 kB / 0.6846 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.4147, allocations: 107.6 kB / 0.6847 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4147, allocations: 4 kB / 0.6847 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4149, allocations: 14.62 kB / 0.6847 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.415, allocations: 23.7 kB / 0.6847 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.415, allocations: 6.625 kB / 0.6847 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001902/0.4152, allocations: 200 kB / 0.6849 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4152, allocations: 0 / 0.6849 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002561/0.4154, allocations: 41.48 kB / 0.685 GB, free: 9.125 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.0006102/0.416, allocations: 0.7681 MB / 0.6857 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.4163, allocations: 87.77 kB / 0.6858 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4163, allocations: 1.438 kB / 0.6858 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4164, allocations: 47.44 kB / 0.6858 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4168, allocations: 50.5 kB / 0.6859 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.4194, allocations: 2.21 MB / 0.688 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4197, allocations: 0.7479 MB / 0.6888 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.663e-05/0.4198, allocations: 20.98 kB / 0.6888 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.42, allocations: 86.92 kB / 0.6889 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.42, allocations: 0 / 0.6889 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4449, allocations: 4.516 MB / 0.6933 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.319, allocations: 9.219 kB / 0.6933 GB, free: 3.512 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 & /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)