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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002651/0.002651, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9401/0.9401, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 62.81 kB / 0.633 GB, free: 6.824 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1968, allocations: 87.91 MB / 0.7189 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004725/0.2016, allocations: 2.426 MB / 0.7213 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2031, allocations: 0.6778 MB / 0.7219 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.2034, allocations: 11.94 kB / 0.7219 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.2037, allocations: 55.39 kB / 0.722 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.2039, allocations: 63.36 kB / 0.722 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.2043, allocations: 111.8 kB / 0.7221 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.2049, allocations: 330.6 kB / 0.7225 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.2052, allocations: 117.7 kB / 0.7226 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.2055, allocations: 123.6 kB / 0.7227 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.2057, allocations: 123.3 kB / 0.7228 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.2058, allocations: 28 kB / 0.7228 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.2059, allocations: 35.98 kB / 0.7229 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.2059, allocations: 59.78 kB / 0.7229 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2061, allocations: 111.5 kB / 0.723 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.2065, allocations: 358.4 kB / 0.7234 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2065, allocations: 0 / 0.7234 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2065, allocations: 0 / 0.7234 GB, free: 10.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2065, allocations: 4 kB / 0.7234 GB, free: 10.3 MB / 0.545 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.000976/0.2075, allocations: 0.509 MB / 0.7239 GB, free: 9.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2076, allocations: 12.03 kB / 0.7239 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.821e-05/0.2076, allocations: 62.72 kB / 0.7239 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.2079, allocations: 52.69 kB / 0.724 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2084, allocations: 219.1 kB / 0.7242 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.2084, allocations: 24.81 kB / 0.7242 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.2085, allocations: 24.38 kB / 0.7243 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.2089, allocations: 220.2 kB / 0.7245 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2089, allocations: 0 / 0.7245 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.209, allocations: 11.98 kB / 0.7245 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.209, allocations: 8 kB / 0.7245 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.2093, allocations: 165.9 kB / 0.7246 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.2106, allocations: 0.6395 MB / 0.7253 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.211, allocations: 110.7 kB / 0.7254 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.2112, allocations: 44.84 kB / 0.7254 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2112, allocations: 7.938 kB / 0.7254 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.2112, allocations: 42.69 kB / 0.7255 GB, free: 8.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2112, allocations: 0 / 0.7255 GB, free: 8.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004952/0.2117, allocations: 169.4 kB / 0.7256 GB, free: 7.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.2118, allocations: 59.39 kB / 0.7257 GB, free: 7.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.2121, allocations: 280.5 kB / 0.7259 GB, free: 7.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2121, allocations: 29.7 kB / 0.726 GB, free: 7.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2123, allocations: 172.3 kB / 0.7261 GB, free: 7.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.2123, allocations: 39.62 kB / 0.7262 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.2124, allocations: 29.7 kB / 0.7262 GB, free: 7.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2126, allocations: 334.8 kB / 0.7265 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2127, allocations: 35.98 kB / 0.7266 GB, free: 6.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2128, allocations: 39.92 kB / 0.7266 GB, free: 6.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.213, allocations: 80.83 kB / 0.7267 GB, free: 6.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.213, allocations: 0 / 0.7267 GB, free: 6.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003107/0.2133, allocations: 145.5 kB / 0.7268 GB, free: 6.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2133, allocations: 8 kB / 0.7268 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2133, allocations: 0 / 0.7268 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2134, allocations: 0 / 0.7268 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2135, allocations: 19.98 kB / 0.7268 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2135, allocations: 3.938 kB / 0.7268 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.2137, allocations: 35.81 kB / 0.7269 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2137, allocations: 0 / 0.7269 GB, free: 6.516 MB / 0.545 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.0001504/0.2138, allocations: 133.8 kB / 0.727 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.2139, allocations: 35.8 kB / 0.727 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/0.2139, allocations: 33.77 kB / 0.7271 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2139, allocations: 0 / 0.7271 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.214, allocations: 3.938 kB / 0.7271 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.214, allocations: 0 / 0.7271 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2143, allocations: 232.6 kB / 0.7273 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2143, allocations: 0 / 0.7273 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.2144, allocations: 23.98 kB / 0.7273 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2144, allocations: 0 / 0.7273 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2144, allocations: 4.375 kB / 0.7273 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2144, allocations: 4 kB / 0.7273 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2144, allocations: 3.938 kB / 0.7273 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.2148, allocations: 239.2 kB / 0.7276 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.2149, allocations: 27.78 kB / 0.7276 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.2149, allocations: 4 kB / 0.7276 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.215, allocations: 11.98 kB / 0.7276 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.2151, allocations: 11.92 kB / 0.7276 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2151, allocations: 8 kB / 0.7276 GB, free: 5.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000228/0.2153, allocations: 203.1 kB / 0.7278 GB, free: 5.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2153, allocations: 4 kB / 0.7278 GB, free: 5.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002774/0.2156, allocations: 43.89 kB / 0.7279 GB, free: 5.438 MB / 0.545 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.0007039/0.2163, allocations: 0.7786 MB / 0.7286 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.2166, allocations: 84.28 kB / 0.7287 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2166, allocations: 0 / 0.7287 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2167, allocations: 43.92 kB / 0.7287 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.2171, allocations: 53.03 kB / 0.7288 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.2202, allocations: 2.221 MB / 0.731 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2203, allocations: 142.8 kB / 0.7311 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.2205, allocations: 25.92 kB / 0.7311 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2206, allocations: 83.41 kB / 0.7312 GB, free: 1.887 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.2206, allocations: 0 / 0.7312 GB, free: 1.887 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.2556, allocations: 5.369 MB / 0.7364 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.21, allocations: 5.828 kB / 0.7365 GB, free: 12.71 MB / 0.5606 GB " [Timeout remaining time 649] (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 --stepSize=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.253383609000593] Failed to read output from testmodel.py, exit status != 0: 11.316064907237887 11.61448667 11.121792049 Calling exit ...