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.001388/0.001388, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001867/0.001867, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.978/0.978, 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.002413/0.002413, allocations: 62.72 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1933, allocations: 89.18 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009636/0.203, allocations: 5.347 MB / 0.7334 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006089/0.2091, allocations: 2.623 MB / 0.7359 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009095/0.21, allocations: 31.69 kB / 0.736 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.2122, allocations: 0.6873 MB / 0.7366 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.2136, allocations: 425.8 kB / 0.7371 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2148, allocations: 411 kB / 0.7374 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2163, allocations: 0.9555 MB / 0.7384 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.2171, allocations: 382.8 kB / 0.7387 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.2178, allocations: 402.5 kB / 0.7391 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.2186, allocations: 410.3 kB / 0.7395 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.2188, allocations: 48 kB / 0.7396 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008519/0.2197, allocations: 323.3 kB / 0.7399 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.2201, allocations: 255.2 kB / 0.7401 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.2206, allocations: 290.6 kB / 0.7404 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.2222, allocations: 0.9806 MB / 0.7414 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2222, allocations: 0 / 0.7414 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2222, allocations: 0 / 0.7414 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.984e-05/0.2222, allocations: 3.984 kB / 0.7414 GB, free: 3.488 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.002118/0.2244, allocations: 0.9247 MB / 0.7423 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2244, allocations: 8.031 kB / 0.7423 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.2246, allocations: 106.7 kB / 0.7424 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.226, allocations: 192.3 kB / 0.7426 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2271, allocations: 472.9 kB / 0.743 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2271, allocations: 41.3 kB / 0.743 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.2273, allocations: 56.5 kB / 0.7431 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.2288, allocations: 0.9822 MB / 0.7441 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.2288, allocations: 4 kB / 0.7441 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.2289, allocations: 23.98 kB / 0.7441 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/0.229, allocations: 64.95 kB / 0.7441 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.23, allocations: 0.5735 MB / 0.7447 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.2347, allocations: 3.577 MB / 0.7482 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.2351, allocations: 274.3 kB / 0.7485 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.2355, allocations: 213.3 kB / 0.7487 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.2355, allocations: 4.281 kB / 0.7487 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2355, allocations: 34.84 kB / 0.7487 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.2355, allocations: 0 / 0.7487 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005695/0.2412, allocations: 2.33 MB / 0.751 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2413, allocations: 55.41 kB / 0.751 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.2419, allocations: 481.8 kB / 0.7515 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.2419, allocations: 37.7 kB / 0.7515 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.2422, allocations: 352.5 kB / 0.7519 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2423, allocations: 142.8 kB / 0.752 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.2425, allocations: 110.2 kB / 0.7521 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.2427, allocations: 362.8 kB / 0.7524 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.2431, allocations: 241.2 kB / 0.7527 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.2436, allocations: 403.4 kB / 0.7531 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.2446, allocations: 0.6817 MB / 0.7537 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2446, allocations: 7.938 kB / 0.7537 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001818/0.2464, allocations: 0.914 MB / 0.7546 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2464, allocations: 11.94 kB / 0.7546 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2464, allocations: 4 kB / 0.7546 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/0.2473, allocations: 226.5 kB / 0.7549 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.2478, allocations: 111.8 kB / 0.755 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4127/0.6605, allocations: 4.993 MB / 0.7598 GB, free: 33.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.6611, allocations: 29.98 kB / 0.7599 GB, free: 33.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.6612, allocations: 21.34 kB / 0.7599 GB, free: 33.01 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.0002929/0.6615, allocations: 230.8 kB / 0.7601 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.6616, allocations: 60.64 kB / 0.7602 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.663, allocations: 0.7684 MB / 0.7609 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.663, allocations: 3.062 kB / 0.7609 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.663, allocations: 6.812 kB / 0.7609 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.663, allocations: 4.547 kB / 0.7609 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.6652, allocations: 1.4 MB / 0.7623 GB, free: 32.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6652, allocations: 3.25 kB / 0.7623 GB, free: 32.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.6656, allocations: 71.02 kB / 0.7624 GB, free: 32.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005925/0.6662, allocations: 206.7 kB / 0.7626 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.6662, allocations: 7.75 kB / 0.7626 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.67, allocations: 4.942 MB / 0.7674 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.67, allocations: 3.594 kB / 0.7674 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.6716, allocations: 1.126 MB / 0.7685 GB, free: 28.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.6719, allocations: 95.27 kB / 0.7686 GB, free: 28.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.672, allocations: 10.84 kB / 0.7686 GB, free: 28.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.6723, allocations: 28.73 kB / 0.7686 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6724, allocations: 36.12 kB / 0.7687 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.6724, allocations: 15.39 kB / 0.7687 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003469/0.6728, allocations: 313.5 kB / 0.769 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6728, allocations: 2.844 kB / 0.769 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006582/0.6734, allocations: 169.6 kB / 0.7691 GB, free: 28.5 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.001813/0.6752, allocations: 1.688 MB / 0.7708 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.677, allocations: 0.9727 MB / 0.7717 GB, free: 27.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.677, allocations: 1.281 kB / 0.7717 GB, free: 27.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.678, allocations: 0.6697 MB / 0.7724 GB, free: 26.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.679, allocations: 179.1 kB / 0.7726 GB, free: 26.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00974/0.6888, allocations: 5.65 MB / 0.7781 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.6895, allocations: 345.7 kB / 0.7784 GB, free: 24.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005962/0.69, allocations: 116.3 kB / 0.7785 GB, free: 24.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.6904, allocations: 211.2 kB / 0.7787 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.783e-06/0.6904, allocations: 0 / 0.7787 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0655/0.7559, allocations: 15.7 MB / 0.7941 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.88, allocations: 13.34 kB / 0.7941 GB, free: 20.01 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.905081116128713] Failed to read output from testmodel.py, exit status != 0: 12.999573981389403 13.013048578 12.788208959 Calling exit ...