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.001502/0.001502, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001847/0.001847, allocations: 203 kB / 23.74 MB, free: 4.543 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.785 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 0.969/0.969, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.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.002441/0.002441, allocations: 77.27 kB / 0.6423 GB, free: 9.59 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2059, allocations: 89.16 MB / 0.7294 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006113/0.212, allocations: 3.057 MB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003769/0.2157, allocations: 1.874 MB / 0.7342 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.216, allocations: 8 kB / 0.7342 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.2172, allocations: 274.9 kB / 0.7344 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.2179, allocations: 199.1 kB / 0.7346 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.2188, allocations: 259.2 kB / 0.7349 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006079/0.2194, allocations: 322.9 kB / 0.7352 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.2199, allocations: 153 kB / 0.7353 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.2203, allocations: 143.5 kB / 0.7355 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.2207, allocations: 147.4 kB / 0.7356 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.2207, allocations: 20 kB / 0.7356 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.2216, allocations: 379.2 kB / 0.736 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.2217, allocations: 91.73 kB / 0.7361 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2219, allocations: 103.5 kB / 0.7362 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.2227, allocations: 0.4905 MB / 0.7367 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2228, allocations: 0 / 0.7367 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2228, allocations: 0 / 0.7367 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2228, allocations: 0 / 0.7367 GB, free: 8.992 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001028/0.2238, allocations: 0.501 MB / 0.7371 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2238, allocations: 8.031 kB / 0.7372 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.2247, allocations: 108.7 kB / 0.7373 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.2251, allocations: 218 kB / 0.7375 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.2251, allocations: 20.73 kB / 0.7375 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.2252, allocations: 16.38 kB / 0.7375 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.2258, allocations: 408.4 kB / 0.7379 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2259, allocations: 0 / 0.7379 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2259, allocations: 4 kB / 0.7379 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.2259, allocations: 28.42 kB / 0.7379 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.2265, allocations: 289.5 kB / 0.7382 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.2289, allocations: 1.229 MB / 0.7394 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.2294, allocations: 237 kB / 0.7396 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2296, allocations: 101.7 kB / 0.7397 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.861e-05/0.2296, allocations: 15.98 kB / 0.7397 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.2297, allocations: 42.5 kB / 0.7398 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.2297, allocations: 0 / 0.7398 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002771/0.2325, allocations: 0.8894 MB / 0.7406 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.2325, allocations: 77.11 kB / 0.7407 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.2328, allocations: 218.7 kB / 0.7409 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.2329, allocations: 29.7 kB / 0.741 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.233, allocations: 172.4 kB / 0.7411 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.2331, allocations: 87.27 kB / 0.7412 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2332, allocations: 61.69 kB / 0.7413 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2334, allocations: 326.8 kB / 0.7416 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.2336, allocations: 131.8 kB / 0.7417 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.2339, allocations: 219.1 kB / 0.7419 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/0.2345, allocations: 368.4 kB / 0.7423 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2345, allocations: 0 / 0.7423 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001014/0.2355, allocations: 0.5083 MB / 0.7428 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2355, allocations: 4 kB / 0.7428 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2355, allocations: 4 kB / 0.7428 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.2361, allocations: 151.3 kB / 0.7429 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.2363, allocations: 60.12 kB / 0.743 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.2402, allocations: 3.934 MB / 0.7468 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.2404, allocations: 23.98 kB / 0.7468 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.2405, allocations: 12 kB / 0.7468 GB, free: 13.95 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 (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.0002663/0.2407, allocations: 161.8 kB / 0.747 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.2408, allocations: 23.84 kB / 0.747 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.2418, allocations: 477.3 kB / 0.7475 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2418, allocations: 4 kB / 0.7475 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2418, allocations: 3.938 kB / 0.7475 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2418, allocations: 0 / 0.7475 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.2436, allocations: 0.8964 MB / 0.7484 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2436, allocations: 7.938 kB / 0.7484 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.2437, allocations: 35.92 kB / 0.7484 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.2442, allocations: 143.3 kB / 0.7485 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2442, allocations: 8 kB / 0.7485 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.2477, allocations: 3.902 MB / 0.7524 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.2477, allocations: 4.031 kB / 0.7524 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.2486, allocations: 0.6254 MB / 0.753 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.2488, allocations: 47.83 kB / 0.753 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2488, allocations: 4 kB / 0.753 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2491, allocations: 19.98 kB / 0.753 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.2491, allocations: 31.83 kB / 0.7531 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.2492, allocations: 12 kB / 0.7531 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001851/0.2493, allocations: 157.9 kB / 0.7532 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2493, allocations: 0 / 0.7532 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005825/0.2499, allocations: 91.94 kB / 0.7533 GB, free: 6.906 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.0002755/0.2502, allocations: 143 kB / 0.7535 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.2513, allocations: 0.5682 MB / 0.754 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.2513, allocations: 0 / 0.754 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.2519, allocations: 386.1 kB / 0.7544 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.2524, allocations: 51.17 kB / 0.7544 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2538, allocations: 0.6743 MB / 0.7551 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.254, allocations: 177.1 kB / 0.7553 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.2541, allocations: 27.42 kB / 0.7553 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.2541, allocations: 0 / 0.7553 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.3758/0.6299, allocations: 7.781 MB / 0.7629 GB, free: 34.21 MB / 0.5762 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.973627991043031] Failed to read output from testmodel.py, exit status != 0: 0.639406715054065 0.65301496 0.426926529 Calling exit ...