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.001375/0.001375, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001601/0.001601, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.9844/0.9844, allocations: 145 MB / 458.2 MB, free: 15.53 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: translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") [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.002109/0.002109, allocations: 66.06 kB / 0.6343 GB, free: 6.844 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2241, allocations: 87.89 MB / 0.7202 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004513/0.2286, allocations: 2.609 MB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.23, allocations: 0.7206 MB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2302, allocations: 7.938 kB / 0.7234 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.2304, allocations: 55.39 kB / 0.7235 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.2305, allocations: 63.36 kB / 0.7235 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.2309, allocations: 115.7 kB / 0.7237 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.2313, allocations: 334.6 kB / 0.724 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.2316, allocations: 121.7 kB / 0.7241 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.2318, allocations: 127.6 kB / 0.7242 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.232, allocations: 131.3 kB / 0.7243 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.2321, allocations: 28 kB / 0.7244 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.2321, allocations: 32 kB / 0.7244 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.2322, allocations: 67.7 kB / 0.7245 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2323, allocations: 143.3 kB / 0.7246 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.2328, allocations: 350.5 kB / 0.7249 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2328, allocations: 8 kB / 0.7249 GB, free: 10.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2328, allocations: 0 / 0.7249 GB, free: 10.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2328, allocations: 3.938 kB / 0.7249 GB, free: 10.04 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.0009305/0.2338, allocations: 0.5051 MB / 0.7254 GB, free: 9.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2338, allocations: 12.03 kB / 0.7254 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.2341, allocations: 52.69 kB / 0.7255 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.2345, allocations: 227.1 kB / 0.7257 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.2346, allocations: 20.86 kB / 0.7257 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.2346, allocations: 24.38 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.235, allocations: 220.4 kB / 0.726 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2351, allocations: 3.938 kB / 0.726 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.2351, allocations: 12 kB / 0.726 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2351, allocations: 8 kB / 0.726 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.2355, allocations: 161.9 kB / 0.7261 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2367, allocations: 0.833 MB / 0.727 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.2371, allocations: 118.7 kB / 0.7271 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2373, allocations: 52.83 kB / 0.7271 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2373, allocations: 0 / 0.7271 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2373, allocations: 30.56 kB / 0.7272 GB, free: 7.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.2373, allocations: 0 / 0.7272 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004719/0.2378, allocations: 181.9 kB / 0.7273 GB, free: 7.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2378, allocations: 51.41 kB / 0.7274 GB, free: 7.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.2382, allocations: 284.6 kB / 0.7276 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2382, allocations: 29.64 kB / 0.7277 GB, free: 7.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.2383, allocations: 176.2 kB / 0.7278 GB, free: 6.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.2383, allocations: 31.73 kB / 0.7279 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.2384, allocations: 37.66 kB / 0.7279 GB, free: 6.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2386, allocations: 334.8 kB / 0.7282 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2387, allocations: 35.92 kB / 0.7283 GB, free: 6.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2388, allocations: 43.97 kB / 0.7283 GB, free: 6.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.239, allocations: 84.77 kB / 0.7284 GB, free: 6.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.239, allocations: 0 / 0.7284 GB, free: 6.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002756/0.2393, allocations: 137.5 kB / 0.7285 GB, free: 6.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2393, allocations: 7.984 kB / 0.7285 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2393, allocations: 0 / 0.7285 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2393, allocations: 0 / 0.7285 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2394, allocations: 27.92 kB / 0.7286 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2394, allocations: 0 / 0.7286 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2396, allocations: 31.75 kB / 0.7286 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2396, allocations: 0 / 0.7286 GB, free: 6.09 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.0001419/0.2397, allocations: 137.8 kB / 0.7287 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.2398, allocations: 27.81 kB / 0.7287 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.2398, allocations: 37.75 kB / 0.7288 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2398, allocations: 0 / 0.7288 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2399, allocations: 0 / 0.7288 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2399, allocations: 3.938 kB / 0.7288 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.2402, allocations: 252.6 kB / 0.729 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2402, allocations: 0 / 0.729 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.2404, allocations: 27.92 kB / 0.729 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2404, allocations: 4 kB / 0.729 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2404, allocations: 11.98 kB / 0.7291 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2404, allocations: 0 / 0.7291 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2404, allocations: 0 / 0.7291 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.2408, allocations: 239.2 kB / 0.7293 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.2408, allocations: 19.86 kB / 0.7293 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.2408, allocations: 0 / 0.7293 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.241, allocations: 15.98 kB / 0.7293 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.2411, allocations: 16 kB / 0.7293 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2411, allocations: 7.938 kB / 0.7293 GB, free: 5.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002162/0.2413, allocations: 207.1 kB / 0.7295 GB, free: 5.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2413, allocations: 0 / 0.7295 GB, free: 5.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002792/0.2416, allocations: 43.89 kB / 0.7296 GB, free: 4.988 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.0001396/0.2417, allocations: 95.25 kB / 0.7297 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.242, allocations: 91.89 kB / 0.7298 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.242, allocations: 0 / 0.7298 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2422, allocations: 51.91 kB / 0.7298 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2426, allocations: 37.12 kB / 0.7298 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.2435, allocations: 458.1 kB / 0.7303 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.2441, allocations: 0.7596 MB / 0.731 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.2441, allocations: 27.42 kB / 0.7311 GB, free: 3.418 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2441, allocations: 0 / 0.7311 GB, free: 3.418 MB / 0.545 GB Notification: Performance of Templates: time 0.006569/0.2507, allocations: 2.863 MB / 0.7339 GB, free: 0.5664 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.764395100064576] Failed to read output from testmodel.py, exit status != 0: 0.2619465689640492 0.277932122 0.041808598 Calling exit ...