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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.071/1.071, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 63.91 kB / 0.5142 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2068, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004731/0.2116, allocations: 2.568 MB / 0.5969 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2132, allocations: 0.6154 MB / 0.5975 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.2137, allocations: 4 kB / 0.5975 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.214, allocations: 47.45 kB / 0.5975 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.2143, allocations: 71.3 kB / 0.5976 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.2147, allocations: 95.83 kB / 0.5977 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.2152, allocations: 322.7 kB / 0.598 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.2156, allocations: 177.4 kB / 0.5982 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.2159, allocations: 111.6 kB / 0.5983 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.2162, allocations: 139.3 kB / 0.5984 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.2162, allocations: 28 kB / 0.5984 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.2163, allocations: 28 kB / 0.5985 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.2164, allocations: 59.72 kB / 0.5985 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2166, allocations: 147.3 kB / 0.5986 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.217, allocations: 338.8 kB / 0.599 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.217, allocations: 0 / 0.599 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.217, allocations: 0 / 0.599 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.217, allocations: 0 / 0.599 GB, free: 4.75 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.001081/0.2181, allocations: 0.5711 MB / 0.5995 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2182, allocations: 12.03 kB / 0.5995 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.258e-05/0.2183, allocations: 58.73 kB / 0.5996 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.2184, allocations: 36.47 kB / 0.5996 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.2187, allocations: 263.8 kB / 0.5999 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2188, allocations: 20.88 kB / 0.5999 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.2188, allocations: 28.31 kB / 0.5999 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.2193, allocations: 229 kB / 0.6001 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2193, allocations: 0 / 0.6001 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.2194, allocations: 12 kB / 0.6002 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2194, allocations: 7.984 kB / 0.6002 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.2197, allocations: 166.2 kB / 0.6003 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2211, allocations: 0.8832 MB / 0.6012 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.2215, allocations: 118.7 kB / 0.6013 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2217, allocations: 48.83 kB / 0.6013 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.2217, allocations: 4 kB / 0.6014 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2218, allocations: 38.69 kB / 0.6014 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.2218, allocations: 0 / 0.6014 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004973/0.2223, allocations: 165.3 kB / 0.6015 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.2223, allocations: 59.41 kB / 0.6016 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.2227, allocations: 283 kB / 0.6019 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2227, allocations: 25.7 kB / 0.6019 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2228, allocations: 180 kB / 0.6021 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.2229, allocations: 27.56 kB / 0.6021 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2229, allocations: 29.7 kB / 0.6021 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2231, allocations: 330.8 kB / 0.6024 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2232, allocations: 39.98 kB / 0.6025 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2233, allocations: 47.97 kB / 0.6025 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2235, allocations: 84.77 kB / 0.6026 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2235, allocations: 0 / 0.6026 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002757/0.2238, allocations: 133.3 kB / 0.6027 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2238, allocations: 14.48 kB / 0.6027 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2239, allocations: 4 kB / 0.6027 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2239, allocations: 0 / 0.6027 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.224, allocations: 23.98 kB / 0.6028 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.224, allocations: 3.938 kB / 0.6028 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2242, allocations: 19.83 kB / 0.6028 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2242, allocations: 4 kB / 0.6028 GB, free: 0.5625 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.2243, allocations: 133.8 kB / 0.6029 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.2244, allocations: 27.62 kB / 0.603 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.2244, allocations: 33.72 kB / 0.603 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2244, allocations: 4.375 kB / 0.603 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2244, allocations: 3.938 kB / 0.603 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2244, allocations: 0 / 0.603 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.2247, allocations: 285.5 kB / 0.6033 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2247, allocations: 7.875 kB / 0.6033 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4261/0.6509, allocations: 18.12 kB / 0.6033 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.6509, allocations: 0 / 0.6033 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.651, allocations: 7.328 kB / 0.6033 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.651, allocations: 2.031 kB / 0.6033 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.651, allocations: 2.25 kB / 0.6033 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.6513, allocations: 230 kB / 0.6035 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.6514, allocations: 102 kB / 0.6036 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.6514, allocations: 2.594 kB / 0.6036 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6516, allocations: 11.34 kB / 0.6036 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.6517, allocations: 12.5 kB / 0.6036 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6517, allocations: 1.969 kB / 0.6036 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001917/0.6519, allocations: 202 kB / 0.6038 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6519, allocations: 2.5 kB / 0.6038 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003506/0.6522, allocations: 48.08 kB / 0.6039 GB, free: 43.89 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 (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.0004086/0.6527, allocations: 0.7694 MB / 0.6046 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.6529, allocations: 95.61 kB / 0.6047 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6529, allocations: 0 / 0.6047 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.653, allocations: 52.61 kB / 0.6048 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.6535, allocations: 37.09 kB / 0.6048 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.6557, allocations: 2.186 MB / 0.6069 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.6559, allocations: 0.7568 MB / 0.6077 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.656, allocations: 22.64 kB / 0.6077 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.6561, allocations: 83.84 kB / 0.6078 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.6561, allocations: 0 / 0.6078 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04975/0.7059, allocations: 4.458 MB / 0.6121 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.078/9.784, allocations: 14.39 kB / 0.6122 GB, free: 40.79 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/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)