Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.001449/0.001449, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001537/0.001537, allocations: 215.4 kB / 22.99 MB, free: 4.973 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.105/1.105, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] "Notification: IBPSA 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.002379/0.002379, allocations: 70.92 kB / 0.6415 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.212, allocations: 89.17 MB / 0.7286 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.007409/0.2194, allocations: 4.049 MB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.2227, allocations: 1.582 MB / 0.7341 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.223, allocations: 8 kB / 0.7341 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2251, allocations: 0.5837 MB / 0.7347 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008612/0.2259, allocations: 230.9 kB / 0.7349 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.2268, allocations: 220.5 kB / 0.7351 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.2278, allocations: 0.5452 MB / 0.7357 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007489/0.2285, allocations: 346 kB / 0.736 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.229, allocations: 235.3 kB / 0.7362 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.2296, allocations: 247.1 kB / 0.7364 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.743e-05/0.2297, allocations: 35.94 kB / 0.7365 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.2301, allocations: 151.7 kB / 0.7366 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.2303, allocations: 163.5 kB / 0.7368 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.2306, allocations: 159.3 kB / 0.7369 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.2315, allocations: 0.5331 MB / 0.7374 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2315, allocations: 4 kB / 0.7375 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2315, allocations: 0 / 0.7375 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.334e-05/0.2315, allocations: 0 / 0.7375 GB, free: 7.438 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001588/0.2331, allocations: 0.6146 MB / 0.7381 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2331, allocations: 12.03 kB / 0.7381 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/0.2339, allocations: 108.6 kB / 0.7382 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.2345, allocations: 241.9 kB / 0.7384 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.2346, allocations: 59.25 kB / 0.7385 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.2346, allocations: 36.38 kB / 0.7385 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2357, allocations: 0.613 MB / 0.7391 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2357, allocations: 0 / 0.7391 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.2357, allocations: 16 kB / 0.7391 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/0.2358, allocations: 32.97 kB / 0.7391 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.2366, allocations: 379.6 kB / 0.7395 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.2391, allocations: 1.388 MB / 0.7409 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.2399, allocations: 248.9 kB / 0.7411 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.2403, allocations: 140.8 kB / 0.7412 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.2403, allocations: 4 kB / 0.7412 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2403, allocations: 34.52 kB / 0.7413 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.2403, allocations: 0 / 0.7413 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001614/0.2419, allocations: 430.8 kB / 0.7417 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.242, allocations: 63.34 kB / 0.7417 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2422, allocations: 214.8 kB / 0.7419 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.2423, allocations: 33.7 kB / 0.742 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.2425, allocations: 216.1 kB / 0.7422 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.2425, allocations: 63.44 kB / 0.7422 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.2426, allocations: 53.66 kB / 0.7423 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2428, allocations: 330.8 kB / 0.7426 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.243, allocations: 96.8 kB / 0.7427 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.2434, allocations: 230.5 kB / 0.7429 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.2439, allocations: 283.2 kB / 0.7432 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2439, allocations: 0 / 0.7432 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009915/0.2449, allocations: 384.5 kB / 0.7436 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.245, allocations: 13.86 kB / 0.7436 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.245, allocations: 0 / 0.7436 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.2455, allocations: 113.7 kB / 0.7437 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2457, allocations: 51.92 kB / 0.7437 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.2495, allocations: 2.806 MB / 0.7465 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.2497, allocations: 31.83 kB / 0.7465 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2498, allocations: 15.94 kB / 0.7465 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003885/0.2502, allocations: 220 kB / 0.7467 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003473/0.2505, allocations: 239.4 kB / 0.7469 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005312/0.251, allocations: 287.3 kB / 0.7472 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.562e-06/0.251, allocations: 4 kB / 0.7472 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0009321/0.252, allocations: 367 kB / 0.7476 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.252, allocations: 4 kB / 0.7476 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.252, allocations: 7.938 kB / 0.7476 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/0.2524, allocations: 105.8 kB / 0.7477 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.2526, allocations: 47.91 kB / 0.7477 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.2559, allocations: 2.775 MB / 0.7504 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.2562, allocations: 27.88 kB / 0.7505 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2562, allocations: 12 kB / 0.7505 GB, free: 9.238 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.2564, allocations: 189.3 kB / 0.7507 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.2565, allocations: 27.86 kB / 0.7507 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.2565, allocations: 29.73 kB / 0.7507 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2565, allocations: 4.094 kB / 0.7507 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2565, allocations: 4 kB / 0.7507 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2566, allocations: 0 / 0.7507 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.258, allocations: 0.6713 MB / 0.7514 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.258, allocations: 4 kB / 0.7514 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2581, allocations: 31.98 kB / 0.7514 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.2585, allocations: 101.6 kB / 0.7515 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.2586, allocations: 12 kB / 0.7515 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.2618, allocations: 2.759 MB / 0.7542 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2618, allocations: 0 / 0.7542 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.2627, allocations: 414 kB / 0.7546 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2628, allocations: 43.7 kB / 0.7547 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2628, allocations: 8 kB / 0.7547 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.263, allocations: 11.98 kB / 0.7547 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.2631, allocations: 19.97 kB / 0.7547 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.2631, allocations: 4 kB / 0.7547 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001518/0.2633, allocations: 144.6 kB / 0.7548 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2633, allocations: 7.938 kB / 0.7548 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007089/0.264, allocations: 179.5 kB / 0.755 GB, free: 4.312 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.2641, allocations: 107.2 kB / 0.7551 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.2664, allocations: 0.8623 MB / 0.756 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2664, allocations: 0 / 0.756 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000828/0.2672, allocations: 357.2 kB / 0.7563 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2677, allocations: 60.34 kB / 0.7564 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2689, allocations: 0.5931 MB / 0.7569 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2691, allocations: 211.7 kB / 0.7571 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.2693, allocations: 49.91 kB / 0.7572 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.2694, allocations: 23.44 kB / 0.7572 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.2694, allocations: 0 / 0.7572 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of Templates: time 0.3481/0.6175, allocations: 4.971 MB / 0.7621 GB, free: 33.21 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.769576799124479] Failed to read output from testmodel.py, exit status != 0: 0.6268037594854832 0.639603768 0.40416151300000003 Calling exit ...