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.005529/0.00553, allocations: 101.7 kB / 15.73 MB, free: 6.484 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.00118/0.001179, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.043/1.043, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 0.595 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4721, allocations: 82.02 MB / 0.6751 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004383/0.4765, allocations: 2.573 MB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.4781, allocations: 0.6074 MB / 0.6782 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.4785, allocations: 14.78 kB / 0.6782 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.4788, allocations: 51.02 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.479, allocations: 75.5 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.4793, allocations: 85.27 kB / 0.6784 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.4796, allocations: 326.7 kB / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.4799, allocations: 178.4 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.4801, allocations: 121.7 kB / 0.679 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.4803, allocations: 133.4 kB / 0.6792 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.4803, allocations: 27.81 kB / 0.6792 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.4804, allocations: 28.06 kB / 0.6792 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.4804, allocations: 63.47 kB / 0.6793 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4806, allocations: 148.2 kB / 0.6794 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.481, allocations: 350 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.481, allocations: 1.156 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.481, allocations: 0 / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.481, allocations: 0 / 0.6797 GB, free: 13.55 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.0008961/0.4819, allocations: 0.5628 MB / 0.6803 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4819, allocations: 9.062 kB / 0.6803 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.482, allocations: 67.28 kB / 0.6804 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.4821, allocations: 32.38 kB / 0.6804 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.4825, allocations: 280.3 kB / 0.6807 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.4825, allocations: 19.72 kB / 0.6807 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.4826, allocations: 24.03 kB / 0.6807 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.483, allocations: 219.3 kB / 0.6809 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.483, allocations: 4 kB / 0.6809 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.4831, allocations: 10.38 kB / 0.6809 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4831, allocations: 5.75 kB / 0.6809 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.4834, allocations: 166.3 kB / 0.6811 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4847, allocations: 0.8824 MB / 0.682 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.4851, allocations: 122.2 kB / 0.6821 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4852, allocations: 55.77 kB / 0.6821 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.4852, allocations: 1.25 kB / 0.6821 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4853, allocations: 35.75 kB / 0.6822 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.4853, allocations: 4 kB / 0.6822 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004607/0.4857, allocations: 167.3 kB / 0.6823 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.4858, allocations: 56.58 kB / 0.6824 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.4861, allocations: 276.9 kB / 0.6826 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4861, allocations: 26.64 kB / 0.6827 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4862, allocations: 171.8 kB / 0.6828 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.4863, allocations: 35.05 kB / 0.6829 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.4863, allocations: 29.69 kB / 0.6829 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4865, allocations: 332.3 kB / 0.6832 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4866, allocations: 39.22 kB / 0.6833 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.45e-05/0.4867, allocations: 40.55 kB / 0.6833 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.4869, allocations: 86.02 kB / 0.6834 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4869, allocations: 1.375 kB / 0.6834 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002724/0.4872, allocations: 141.8 kB / 0.6835 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4872, allocations: 7.375 kB / 0.6835 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4872, allocations: 0 / 0.6835 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4872, allocations: 1.375 kB / 0.6835 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4874, allocations: 28.42 kB / 0.6835 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4874, allocations: 5.312 kB / 0.6835 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.4875, allocations: 20.08 kB / 0.6836 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.4876, allocations: 6.75 kB / 0.6836 GB, free: 10.35 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.0001247/0.4877, allocations: 132.8 kB / 0.6837 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.4878, allocations: 22.72 kB / 0.6837 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.4878, allocations: 28.66 kB / 0.6837 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4878, allocations: 1.375 kB / 0.6838 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4878, allocations: 3.938 kB / 0.6838 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4878, allocations: 3.984 kB / 0.6838 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.4882, allocations: 285.6 kB / 0.684 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4882, allocations: 3.984 kB / 0.684 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4883, allocations: 27.67 kB / 0.6841 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4883, allocations: 1.031 kB / 0.6841 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4883, allocations: 0 / 0.6841 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4883, allocations: 4.875 kB / 0.6841 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4883, allocations: 5.094 kB / 0.6841 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4887, allocations: 231.3 kB / 0.6843 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.4887, allocations: 111 kB / 0.6844 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.4888, allocations: 0 / 0.6844 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4889, allocations: 14.48 kB / 0.6844 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.489, allocations: 15.7 kB / 0.6844 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.489, allocations: 1.688 kB / 0.6844 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001897/0.4892, allocations: 200.5 kB / 0.6846 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4892, allocations: 0 / 0.6846 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002844/0.4895, allocations: 45.06 kB / 0.6847 GB, free: 9.41 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.0006224/0.4901, allocations: 0.768 MB / 0.6854 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.4904, allocations: 92.17 kB / 0.6855 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4904, allocations: 0 / 0.6855 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.4906, allocations: 56.12 kB / 0.6856 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.491, allocations: 42.38 kB / 0.6856 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.4939, allocations: 2.202 MB / 0.6877 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4942, allocations: 0.7525 MB / 0.6885 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.4944, allocations: 20.5 kB / 0.6885 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4945, allocations: 82.12 kB / 0.6886 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.4945, allocations: 0 / 0.6886 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.5171, allocations: 4.609 MB / 0.6931 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.315, allocations: 15.48 kB / 0.6931 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 & /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)