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.0009145/0.0009147, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001054/0.001054, allocations: 172.7 kB / 15.95 MB, free: 208 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.499/1.499, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.082/1.082, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2148, allocations: 83.41 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002938/0.2178, allocations: 2.159 MB / 0.5996 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.2187, allocations: 0.573 MB / 0.6002 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2189, allocations: 7.938 kB / 0.6002 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.219, allocations: 35.66 kB / 0.6002 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.2192, allocations: 63.53 kB / 0.6003 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.2194, allocations: 55.88 kB / 0.6003 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2197, allocations: 286.8 kB / 0.6006 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.22, allocations: 129.1 kB / 0.6007 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.2201, allocations: 83.64 kB / 0.6008 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2203, allocations: 103.4 kB / 0.6009 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.2203, allocations: 12 kB / 0.6009 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.201e-05/0.2204, allocations: 12 kB / 0.6009 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.2204, allocations: 39.84 kB / 0.601 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.2205, allocations: 73.52 kB / 0.601 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2207, allocations: 243.6 kB / 0.6013 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2208, allocations: 4 kB / 0.6013 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2208, allocations: 0 / 0.6013 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2208, allocations: 0 / 0.6013 GB, free: 3.797 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.0007587/0.2215, allocations: 0.53 MB / 0.6018 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2216, allocations: 8.031 kB / 0.6018 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.2217, allocations: 54.55 kB / 0.6019 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.2217, allocations: 43.58 kB / 0.6019 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.2221, allocations: 262.4 kB / 0.6021 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.2221, allocations: 16.56 kB / 0.6022 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.2222, allocations: 24 kB / 0.6022 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.2226, allocations: 220.9 kB / 0.6024 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2227, allocations: 0 / 0.6024 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.2227, allocations: 15.94 kB / 0.6024 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2227, allocations: 7.953 kB / 0.6024 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.2232, allocations: 178.2 kB / 0.6026 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2244, allocations: 0.8911 MB / 0.6035 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.2248, allocations: 118.7 kB / 0.6036 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.2249, allocations: 65.02 kB / 0.6036 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2249, allocations: 3.953 kB / 0.6036 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.225, allocations: 38.56 kB / 0.6037 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.225, allocations: 0 / 0.6037 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000541/0.2255, allocations: 185.2 kB / 0.6039 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2256, allocations: 51.41 kB / 0.6039 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.2259, allocations: 275 kB / 0.6042 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.226, allocations: 25.7 kB / 0.6042 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2261, allocations: 168.1 kB / 0.6044 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.2262, allocations: 31.55 kB / 0.6044 GB, free: 380 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.2262, allocations: 4 kB / 0.6044 GB, free: 376 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2263, allocations: 334.8 kB / 0.6047 GB, free: 32 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4622/0.6886, allocations: 37.5 kB / 0.6047 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.6888, allocations: 45.86 kB / 0.6048 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.689, allocations: 40.67 kB / 0.6048 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.689, allocations: 0.5625 kB / 0.6048 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003753/0.6894, allocations: 150.5 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6894, allocations: 10.28 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6894, allocations: 2.438 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.6894, allocations: 0 / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6896, allocations: 21.84 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.6896, allocations: 1.734 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.6898, allocations: 30.39 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.6898, allocations: 2.938 kB / 0.605 GB, free: 40.5 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.0001545/0.69, allocations: 140.9 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.69, allocations: 25.45 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/0.6901, allocations: 26.16 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6901, allocations: 3.031 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6901, allocations: 2.938 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6902, allocations: 0.5 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.6905, allocations: 290.9 kB / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6905, allocations: 0 / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.6906, allocations: 22.97 kB / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6906, allocations: 1.203 kB / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6906, allocations: 4.75 kB / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6906, allocations: 3.188 kB / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/0.6907, allocations: 9.312 kB / 0.6055 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.691, allocations: 244.4 kB / 0.6058 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.691, allocations: 100.7 kB / 0.6059 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.6911, allocations: 0.8438 kB / 0.6059 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.6912, allocations: 23.17 kB / 0.6059 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.6913, allocations: 9.297 kB / 0.6059 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.6913, allocations: 6.922 kB / 0.6059 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001522/0.6915, allocations: 194.4 kB / 0.6061 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6915, allocations: 2.906 kB / 0.6061 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002784/0.6918, allocations: 47.16 kB / 0.6061 GB, free: 39.86 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.0004506/0.6922, allocations: 0.78 MB / 0.6069 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.6925, allocations: 106.6 kB / 0.607 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6925, allocations: 0 / 0.607 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.6926, allocations: 52.92 kB / 0.6071 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.693, allocations: 41.78 kB / 0.6071 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.6948, allocations: 1.311 MB / 0.6084 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.695, allocations: 0.75 MB / 0.6091 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000102/0.6951, allocations: 18.61 kB / 0.6091 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.6952, allocations: 82.33 kB / 0.6092 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.6953, allocations: 4 kB / 0.6092 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.7102, allocations: 4.347 MB / 0.6135 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.7105, allocations: 182.3 kB / 0.6136 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.73, allocations: 0 / 0.6136 GB, free: 37.42 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: