Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001323/0.001323, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001459/0.001459, allocations: 162.1 kB / 23.76 MB, free: 4.195 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.459/1.459, allocations: 177.2 MB / 204.1 MB, free: 8.891 MB / 190.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 0.9531/0.9531, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002076/0.002076, allocations: 69.27 kB / 0.555 GB, free: 2.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2184, allocations: 89.14 MB / 0.6421 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.008361/0.2268, allocations: 3.041 MB / 0.645 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005998/0.2328, allocations: 1.881 MB / 0.6469 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.233, allocations: 7.938 kB / 0.6469 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.2346, allocations: 275 kB / 0.6471 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.2356, allocations: 199.1 kB / 0.6473 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.2369, allocations: 259.2 kB / 0.6476 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.2376, allocations: 314.9 kB / 0.6479 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.238, allocations: 157 kB / 0.648 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.2384, allocations: 143.5 kB / 0.6482 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.2389, allocations: 147.4 kB / 0.6483 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.239, allocations: 20 kB / 0.6483 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2401, allocations: 375.2 kB / 0.6487 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2403, allocations: 95.72 kB / 0.6488 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.2405, allocations: 95.55 kB / 0.6489 GB, free: 2.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.2417, allocations: 0.4944 MB / 0.6494 GB, free: 2.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2418, allocations: 0 / 0.6494 GB, free: 2.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2418, allocations: 0 / 0.6494 GB, free: 2.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.2418, allocations: 0 / 0.6494 GB, free: 2.086 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00159/0.2434, allocations: 0.5009 MB / 0.6498 GB, free: 1.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2434, allocations: 12.03 kB / 0.6499 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.2449, allocations: 116.6 kB / 0.65 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.2455, allocations: 202.1 kB / 0.6502 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.2456, allocations: 16.88 kB / 0.6502 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.2456, allocations: 16.38 kB / 0.6502 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.2467, allocations: 408.8 kB / 0.6506 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2467, allocations: 0 / 0.6506 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.2467, allocations: 8 kB / 0.6506 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.177e-05/0.2468, allocations: 24.48 kB / 0.6506 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.2476, allocations: 293.8 kB / 0.6509 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.2508, allocations: 1.234 MB / 0.6521 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.2513, allocations: 241 kB / 0.6523 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2515, allocations: 109.6 kB / 0.6524 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.2516, allocations: 4 kB / 0.6524 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2516, allocations: 42.48 kB / 0.6525 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2516, allocations: 0 / 0.6525 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002614/0.2542, allocations: 0.9051 MB / 0.6534 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.2543, allocations: 81.11 kB / 0.6534 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.2545, allocations: 210.6 kB / 0.6536 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2546, allocations: 29.7 kB / 0.6537 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2547, allocations: 176.4 kB / 0.6538 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.2548, allocations: 79.28 kB / 0.6539 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2549, allocations: 65.69 kB / 0.654 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.2551, allocations: 326.8 kB / 0.6543 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.2553, allocations: 131.8 kB / 0.6544 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2556, allocations: 215.1 kB / 0.6546 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.2561, allocations: 361.2 kB / 0.655 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2561, allocations: 0 / 0.655 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009758/0.2571, allocations: 0.5113 MB / 0.6555 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2571, allocations: 13.66 kB / 0.6555 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2571, allocations: 0 / 0.6555 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.2577, allocations: 155.6 kB / 0.6556 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.258, allocations: 55.91 kB / 0.6557 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.2616, allocations: 3.934 MB / 0.6595 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.2618, allocations: 20.02 kB / 0.6595 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.2619, allocations: 12 kB / 0.6595 GB, free: 7.039 MB / 0.5606 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.2621, allocations: 172.2 kB / 0.6597 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.2621, allocations: 19.84 kB / 0.6597 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/0.2631, allocations: 478.6 kB / 0.6602 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2631, allocations: 0 / 0.6602 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.2631, allocations: 8.031 kB / 0.6602 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2631, allocations: 3.938 kB / 0.6602 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.2649, allocations: 0.8902 MB / 0.6611 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2649, allocations: 0 / 0.6611 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.265, allocations: 27.98 kB / 0.6611 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.2655, allocations: 155.4 kB / 0.6612 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.2655, allocations: 8 kB / 0.6612 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.2688, allocations: 3.894 MB / 0.6651 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.2688, allocations: 3.938 kB / 0.6651 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.2697, allocations: 0.6266 MB / 0.6657 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2699, allocations: 43.84 kB / 0.6657 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.2699, allocations: 11.98 kB / 0.6657 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2701, allocations: 15.98 kB / 0.6657 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.2703, allocations: 35.97 kB / 0.6658 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2703, allocations: 11.98 kB / 0.6658 GB, free: 244 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001603/0.2705, allocations: 153.8 kB / 0.6659 GB, free: 92 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2705, allocations: 7.938 kB / 0.6659 GB, free: 84 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005688/0.271, allocations: 87.98 kB / 0.666 GB, free: 15.99 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * 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.0002323/0.2713, allocations: 143 kB / 0.6662 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.2724, allocations: 0.564 MB / 0.6667 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.2724, allocations: 4 kB / 0.6667 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.2729, allocations: 392.4 kB / 0.6671 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.2735, allocations: 46.55 kB / 0.6671 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2747, allocations: 0.636 MB / 0.6678 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2749, allocations: 173 kB / 0.6679 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.2751, allocations: 58.23 kB / 0.668 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.2752, allocations: 20.5 kB / 0.668 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.2752, allocations: 8 kB / 0.668 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.009978/0.2851, allocations: 4.151 MB / 0.6721 GB, free: 9.734 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.654616631916724] Failed to read output from testmodel.py, exit status != 0: 0.29430777998641133 0.30942901300000003 0.064403472 Calling exit ...