Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.000897/0.000897, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009545/0.0009545, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9613/0.9613, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7662/0.7662, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001028/0.001028, allocations: 66.44 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5229, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005794/0.5287, allocations: 5.356 MB / 0.8226 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.5325, allocations: 2.638 MB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.5329, allocations: 33.31 kB / 0.8252 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.5342, allocations: 0.6681 MB / 0.8259 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.5351, allocations: 434.6 kB / 0.8263 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.536, allocations: 411.8 kB / 0.8267 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009971/0.537, allocations: 0.959 MB / 0.8276 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.5376, allocations: 375.4 kB / 0.828 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.5381, allocations: 395 kB / 0.8283 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.5387, allocations: 411.1 kB / 0.8287 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.5387, allocations: 48.53 kB / 0.8288 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.5394, allocations: 328.8 kB / 0.8291 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.5396, allocations: 251 kB / 0.8293 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.5399, allocations: 293.7 kB / 0.8296 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.5413, allocations: 0.9893 MB / 0.8306 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5413, allocations: 0 / 0.8306 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5413, allocations: 0 / 0.8306 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.5413, allocations: 4 kB / 0.8306 GB, free: 9.633 MB / 0.6198 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.001457/0.5428, allocations: 0.9203 MB / 0.8315 GB, free: 9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5428, allocations: 10.5 kB / 0.8315 GB, free: 9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.5429, allocations: 96.8 kB / 0.8316 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.5439, allocations: 202.2 kB / 0.8318 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.5445, allocations: 478.9 kB / 0.8322 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.5446, allocations: 33.25 kB / 0.8323 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.5447, allocations: 61.3 kB / 0.8323 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5458, allocations: 0.9774 MB / 0.8333 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.5458, allocations: 6.281 kB / 0.8333 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.5459, allocations: 22.75 kB / 0.8333 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.546, allocations: 64.33 kB / 0.8334 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.5467, allocations: 0.5675 MB / 0.8339 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.5499, allocations: 3.582 MB / 0.8374 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.5503, allocations: 272.7 kB / 0.8377 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.5505, allocations: 210.6 kB / 0.8379 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.5506, allocations: 3.688 kB / 0.8379 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5506, allocations: 38.98 kB / 0.8379 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.5506, allocations: 0 / 0.8379 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003746/0.5543, allocations: 2.34 MB / 0.8402 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.5544, allocations: 63.61 kB / 0.8403 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.5548, allocations: 475.2 kB / 0.8407 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.5548, allocations: 31.08 kB / 0.8408 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.555, allocations: 349.6 kB / 0.8411 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.5551, allocations: 148.6 kB / 0.8412 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.5552, allocations: 115 kB / 0.8413 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5553, allocations: 358.8 kB / 0.8417 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.5556, allocations: 243.8 kB / 0.8419 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.5559, allocations: 409.2 kB / 0.8423 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.5566, allocations: 0.6729 MB / 0.843 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5566, allocations: 1.969 kB / 0.843 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001263/0.5579, allocations: 0.9172 MB / 0.8439 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5579, allocations: 7.5 kB / 0.8439 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5579, allocations: 5.469 kB / 0.8439 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.5584, allocations: 226.8 kB / 0.8441 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5588, allocations: 116.8 kB / 0.8442 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.5627, allocations: 5.005 MB / 0.8491 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.5632, allocations: 34.38 kB / 0.8491 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.5632, allocations: 23.03 kB / 0.8491 GB, free: 12.11 MB / 0.6355 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.000335/0.5635, allocations: 229.5 kB / 0.8494 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.5636, allocations: 63.97 kB / 0.8494 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009627/0.5646, allocations: 0.7556 MB / 0.8502 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5646, allocations: 4.125 kB / 0.8502 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5646, allocations: 6.75 kB / 0.8502 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5646, allocations: 3.984 kB / 0.8502 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.5667, allocations: 1.395 MB / 0.8515 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5667, allocations: 1.438 kB / 0.8515 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.5669, allocations: 73.34 kB / 0.8516 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/0.5673, allocations: 210.3 kB / 0.8518 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.5673, allocations: 8.625 kB / 0.8518 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.5706, allocations: 4.933 MB / 0.8566 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5706, allocations: 6.562 kB / 0.8566 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.5719, allocations: 1.126 MB / 0.8577 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.5721, allocations: 100.7 kB / 0.8578 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.5722, allocations: 12.19 kB / 0.8578 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.5724, allocations: 24.44 kB / 0.8579 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.5724, allocations: 37.06 kB / 0.8579 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5725, allocations: 14.58 kB / 0.8579 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002886/0.5728, allocations: 316.9 kB / 0.8582 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5728, allocations: 0 / 0.8582 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006852/0.5734, allocations: 167.2 kB / 0.8584 GB, free: 4.766 MB / 0.6355 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.001666/0.5751, allocations: 1.694 MB / 0.86 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.5767, allocations: 0.9691 MB / 0.861 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5767, allocations: 5.359 kB / 0.861 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.5773, allocations: 0.6617 MB / 0.8616 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.578, allocations: 186.5 kB / 0.8618 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.585, allocations: 5.65 MB / 0.8673 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.5855, allocations: 350.8 kB / 0.8677 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004857/0.586, allocations: 115 kB / 0.8678 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5862, allocations: 213.6 kB / 0.868 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.114e-06/0.5862, allocations: 0 / 0.868 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.6195, allocations: 15.69 MB / 0.8833 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.558, allocations: 7.344 kB / 0.8833 GB, free: 0.9336 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.566269785165787] Failed to read output from testmodel.py, exit status != 0: 7.6462800982408226 7.656345313 7.113232777 Calling exit ...