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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001093/0.001093, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001292/0.001292, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.042/1.042, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004261, allocations: 8 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1995, allocations: 83.41 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002777/0.2023, allocations: 2.085 MB / 0.5994 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.2034, allocations: 0.5847 MB / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2035, allocations: 11.94 kB / 0.5999 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.389e-05/0.2036, allocations: 23.77 kB / 0.6 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2038, allocations: 87.7 kB / 0.6001 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.204, allocations: 55.94 kB / 0.6001 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.2043, allocations: 211.5 kB / 0.6003 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.2045, allocations: 125.1 kB / 0.6004 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.2047, allocations: 91.62 kB / 0.6005 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2048, allocations: 99.44 kB / 0.6006 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.2049, allocations: 12 kB / 0.6006 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.2049, allocations: 12 kB / 0.6006 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.205, allocations: 31.84 kB / 0.6007 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.205, allocations: 77.52 kB / 0.6007 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2053, allocations: 251.6 kB / 0.601 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.2053, allocations: 0 / 0.601 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2053, allocations: 0 / 0.601 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.2053, allocations: 0 / 0.601 GB, free: 4.051 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.0007643/0.2061, allocations: 0.5222 MB / 0.6015 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2061, allocations: 12.03 kB / 0.6015 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.2062, allocations: 62.5 kB / 0.6016 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.2063, allocations: 35.61 kB / 0.6016 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.2066, allocations: 266.4 kB / 0.6018 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.2066, allocations: 28.5 kB / 0.6019 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.2067, allocations: 20 kB / 0.6019 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2071, allocations: 216.9 kB / 0.6021 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2071, allocations: 0 / 0.6021 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.2071, allocations: 8 kB / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2071, allocations: 7.953 kB / 0.6021 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.2075, allocations: 178.2 kB / 0.6023 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2087, allocations: 0.8795 MB / 0.6031 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.2091, allocations: 126.7 kB / 0.6033 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2091, allocations: 7.953 kB / 0.6033 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2091, allocations: 30.56 kB / 0.6033 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.765e-06/0.2091, allocations: 3.984 kB / 0.6033 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000461/0.2096, allocations: 193.3 kB / 0.6035 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.2096, allocations: 55.34 kB / 0.6035 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2099, allocations: 271 kB / 0.6038 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.21, allocations: 29.7 kB / 0.6038 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2101, allocations: 168.1 kB / 0.604 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.2101, allocations: 31.55 kB / 0.604 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.2102, allocations: 0 / 0.604 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2103, allocations: 342.8 kB / 0.6043 GB, free: 352 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2104, allocations: 39.98 kB / 0.6044 GB, free: 312 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.2105, allocations: 39.97 kB / 0.6044 GB, free: 272 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2107, allocations: 43.92 kB / 0.6045 GB, free: 228 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2107, allocations: 8 kB / 0.6045 GB, free: 220 kB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002744/0.211, allocations: 141.3 kB / 0.6046 GB, free: 72 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.211, allocations: 7.953 kB / 0.6046 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.211, allocations: 0 / 0.6046 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.211, allocations: 3.984 kB / 0.6046 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2112, allocations: 35.92 kB / 0.6047 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2112, allocations: 0 / 0.6047 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2113, allocations: 23.83 kB / 0.6047 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3201/0.5314, allocations: 2.578 kB / 0.6047 GB, free: 40.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.5317, allocations: 131.2 kB / 0.6048 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.5318, allocations: 25.12 kB / 0.6048 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.5318, allocations: 30.81 kB / 0.6049 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5318, allocations: 1.406 kB / 0.6049 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5318, allocations: 0 / 0.6049 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5319, allocations: 2.328 kB / 0.6049 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.5322, allocations: 289.7 kB / 0.6051 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5322, allocations: 4.062 kB / 0.6051 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.5324, allocations: 28.64 kB / 0.6052 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5324, allocations: 0 / 0.6052 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5324, allocations: 3.781 kB / 0.6052 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5324, allocations: 2.031 kB / 0.6052 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5324, allocations: 3.656 kB / 0.6052 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.5327, allocations: 241.1 kB / 0.6054 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.5328, allocations: 99.31 kB / 0.6055 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.5328, allocations: 6.781 kB / 0.6055 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.533, allocations: 13.91 kB / 0.6055 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.5331, allocations: 11.81 kB / 0.6055 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.5331, allocations: 6.094 kB / 0.6055 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001583/0.5332, allocations: 199.8 kB / 0.6057 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5333, allocations: 0.75 kB / 0.6057 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002641/0.5335, allocations: 46.97 kB / 0.6058 GB, free: 40.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.5339, allocations: 0.7761 MB / 0.6065 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.5342, allocations: 98.12 kB / 0.6066 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5342, allocations: 1.906 kB / 0.6066 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5343, allocations: 54.94 kB / 0.6067 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.5347, allocations: 42.02 kB / 0.6067 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.5363, allocations: 1.302 MB / 0.608 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.5364, allocations: 0.7549 MB / 0.6087 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.724e-05/0.5365, allocations: 26.09 kB / 0.6088 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.5366, allocations: 76.48 kB / 0.6088 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.5367, allocations: 3.062 kB / 0.6088 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.55, allocations: 4.346 MB / 0.6131 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.5502, allocations: 178 kB / 0.6132 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.283, allocations: 4 kB / 0.6132 GB, free: 37.66 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/linux/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) Environment - environmentSimulation: