Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001368/0.001368, 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.00146/0.00146, allocations: 218 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9497/0.9497, allocations: 149.9 MB / 463.1 MB, free: 10.38 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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [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.002478/0.002478, allocations: 71.03 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2052, allocations: 89.18 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00877/0.214, allocations: 5.345 MB / 0.7334 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005128/0.2191, allocations: 2.623 MB / 0.7359 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.2198, allocations: 35.69 kB / 0.736 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.2221, allocations: 0.6769 MB / 0.7366 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.2235, allocations: 429.8 kB / 0.7371 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2248, allocations: 414.2 kB / 0.7374 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2263, allocations: 0.9594 MB / 0.7384 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.2271, allocations: 378.5 kB / 0.7387 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008068/0.2279, allocations: 398.5 kB / 0.7391 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008464/0.2287, allocations: 406.3 kB / 0.7395 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.2289, allocations: 48 kB / 0.7396 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008283/0.2297, allocations: 327.3 kB / 0.7399 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.2301, allocations: 255.2 kB / 0.7401 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.2306, allocations: 290.6 kB / 0.7404 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.2322, allocations: 0.9884 MB / 0.7414 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2322, allocations: 0 / 0.7414 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2322, allocations: 0 / 0.7414 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.2322, allocations: 4 kB / 0.7414 GB, free: 3.473 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002166/0.2344, allocations: 0.9169 MB / 0.7423 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.2345, allocations: 15.97 kB / 0.7423 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.2346, allocations: 106.7 kB / 0.7424 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.2361, allocations: 192.3 kB / 0.7426 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2372, allocations: 476.9 kB / 0.743 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.2372, allocations: 37.36 kB / 0.743 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.2374, allocations: 56.5 kB / 0.7431 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.2388, allocations: 0.9784 MB / 0.7441 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.2388, allocations: 7.938 kB / 0.7441 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.2389, allocations: 24 kB / 0.7441 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.2391, allocations: 64.94 kB / 0.7441 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/0.2401, allocations: 0.5735 MB / 0.7447 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.2449, allocations: 3.569 MB / 0.7482 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.2454, allocations: 279.2 kB / 0.7485 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.2457, allocations: 213.3 kB / 0.7487 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.2457, allocations: 4.281 kB / 0.7487 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2458, allocations: 38.84 kB / 0.7487 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.604e-06/0.2458, allocations: 0 / 0.7487 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005976/0.2517, allocations: 2.326 MB / 0.751 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.2518, allocations: 55.41 kB / 0.751 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.2525, allocations: 477.8 kB / 0.7515 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.2525, allocations: 33.7 kB / 0.7515 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.2529, allocations: 352.5 kB / 0.7519 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.253, allocations: 150.7 kB / 0.752 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.2532, allocations: 106.2 kB / 0.7521 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002358/0.2535, allocations: 366.8 kB / 0.7524 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.2539, allocations: 241.1 kB / 0.7527 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.2544, allocations: 411.3 kB / 0.7531 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2554, allocations: 0.674 MB / 0.7537 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2554, allocations: 7.938 kB / 0.7537 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001867/0.2573, allocations: 0.9096 MB / 0.7546 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.2573, allocations: 10.69 kB / 0.7546 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2573, allocations: 4 kB / 0.7546 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008642/0.2582, allocations: 230.3 kB / 0.7549 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.2587, allocations: 115.8 kB / 0.755 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4311/0.6899, allocations: 4.998 MB / 0.7598 GB, free: 32.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.6905, allocations: 28.14 kB / 0.7599 GB, free: 32.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.6905, allocations: 23.73 kB / 0.7599 GB, free: 32.96 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.6909, allocations: 220.4 kB / 0.7601 GB, free: 32.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.6911, allocations: 59.86 kB / 0.7602 GB, free: 32.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.6927, allocations: 0.7656 MB / 0.7609 GB, free: 32.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6927, allocations: 9.031 kB / 0.7609 GB, free: 32.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6928, allocations: 3.859 kB / 0.7609 GB, free: 32.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6928, allocations: 8.984 kB / 0.7609 GB, free: 32.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.6955, allocations: 1.396 MB / 0.7623 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.6955, allocations: 3.344 kB / 0.7623 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.6959, allocations: 71.25 kB / 0.7624 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/0.6966, allocations: 206.5 kB / 0.7626 GB, free: 32.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.6966, allocations: 11.44 kB / 0.7626 GB, free: 32.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/0.7006, allocations: 4.938 MB / 0.7674 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7006, allocations: 6.719 kB / 0.7674 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.7023, allocations: 1.121 MB / 0.7685 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.7026, allocations: 100.5 kB / 0.7686 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.7027, allocations: 15.83 kB / 0.7686 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.703, allocations: 26.2 kB / 0.7686 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7031, allocations: 33.05 kB / 0.7687 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.7032, allocations: 18.36 kB / 0.7687 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003548/0.7035, allocations: 316.6 kB / 0.769 GB, free: 28.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7035, allocations: 2.469 kB / 0.769 GB, free: 28.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006942/0.7042, allocations: 164.8 kB / 0.7691 GB, free: 28.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/0.7061, allocations: 1.689 MB / 0.7708 GB, free: 27.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.7077, allocations: 0.9738 MB / 0.7717 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7077, allocations: 0 / 0.7717 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009127/0.7086, allocations: 0.6665 MB / 0.7724 GB, free: 26.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009267/0.7095, allocations: 182.3 kB / 0.7726 GB, free: 26.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.7174, allocations: 5.641 MB / 0.7781 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.7179, allocations: 349.8 kB / 0.7784 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004366/0.7183, allocations: 115.4 kB / 0.7785 GB, free: 24.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.7186, allocations: 211 kB / 0.7787 GB, free: 24.33 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/0.7186, allocations: 1.031 kB / 0.7787 GB, free: 24.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.7791, allocations: 15.69 MB / 0.794 GB, free: 20 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.81, allocations: 9.359 kB / 0.7941 GB, free: 20 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.720492573920637] Failed to read output from testmodel.py, exit status != 0: 12.930175008717924 12.951314151 12.715144746 Calling exit ...