Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001257/0.001257, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001574/0.001574, allocations: 208.1 kB / 22.24 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.9502/0.9502, allocations: 230.6 MB / 256 MB, free: 9.621 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.791/0.791, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.000954/0.000954, allocations: 66.36 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4991, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005572/0.5047, allocations: 5.985 MB / 0.8232 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.5085, allocations: 3.155 MB / 0.8263 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.509, allocations: 40.66 kB / 0.8264 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.5103, allocations: 0.9347 MB / 0.8273 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009817/0.5113, allocations: 493 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.5124, allocations: 0.5018 MB / 0.8282 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.5135, allocations: 1.101 MB / 0.8293 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006785/0.5142, allocations: 0.5011 MB / 0.8298 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.5148, allocations: 459.7 kB / 0.8302 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.5155, allocations: 474.7 kB / 0.8307 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.5156, allocations: 62.62 kB / 0.8307 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.5165, allocations: 445.7 kB / 0.8312 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.5167, allocations: 287.1 kB / 0.8314 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.517, allocations: 333.1 kB / 0.8318 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.5182, allocations: 1.19 MB / 0.8329 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5182, allocations: 0 / 0.8329 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5182, allocations: 0.8438 kB / 0.8329 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.5182, allocations: 0 / 0.8329 GB, free: 8.402 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001329/0.5196, allocations: 1.016 MB / 0.8339 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5196, allocations: 11.05 kB / 0.8339 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.5197, allocations: 116.9 kB / 0.834 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.5207, allocations: 220 kB / 0.8342 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.5214, allocations: 0.5242 MB / 0.8348 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.5214, allocations: 55.44 kB / 0.8348 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.5215, allocations: 61.97 kB / 0.8349 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.5228, allocations: 1.13 MB / 0.836 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.5228, allocations: 11.61 kB / 0.836 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.5228, allocations: 29.23 kB / 0.836 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.082e-05/0.5229, allocations: 69.97 kB / 0.8361 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/0.5237, allocations: 0.6931 MB / 0.8368 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.527, allocations: 4.513 MB / 0.8412 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.5276, allocations: 406.2 kB / 0.8415 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.5281, allocations: 395 kB / 0.8419 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.5281, allocations: 8.062 kB / 0.8419 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5281, allocations: 37.31 kB / 0.842 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.375e-06/0.5281, allocations: 1.375 kB / 0.842 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002571/0.5307, allocations: 1.701 MB / 0.8436 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.5307, allocations: 55.81 kB / 0.8437 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.5311, allocations: 488.5 kB / 0.8441 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.5311, allocations: 31.17 kB / 0.8442 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.5313, allocations: 403.3 kB / 0.8446 GB, free: 292 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/0.5314, allocations: 154.1 kB / 0.8447 GB, free: 156 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.5315, allocations: 113.8 kB / 0.8448 GB, free: 84 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5316, allocations: 372.4 kB / 0.8452 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.5319, allocations: 241.7 kB / 0.8454 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.5322, allocations: 452 kB / 0.8458 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.5328, allocations: 0.746 MB / 0.8466 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5328, allocations: 6.844 kB / 0.8466 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001158/0.534, allocations: 1.029 MB / 0.8476 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.534, allocations: 8.531 kB / 0.8476 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.534, allocations: 10.41 kB / 0.8476 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.5346, allocations: 321 kB / 0.8479 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5348, allocations: 99.66 kB / 0.848 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004454/0.5392, allocations: 7.018 MB / 0.8548 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.5396, allocations: 34.7 kB / 0.8549 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5396, allocations: 29.75 kB / 0.8549 GB, free: 7.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.5399, allocations: 241.4 kB / 0.8551 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.54, allocations: 65.16 kB / 0.8552 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.541, allocations: 0.8861 MB / 0.8561 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5411, allocations: 3.125 kB / 0.8561 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5411, allocations: 4.625 kB / 0.8561 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.5411, allocations: 3.984 kB / 0.8561 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.5428, allocations: 1.575 MB / 0.8576 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5428, allocations: 5.203 kB / 0.8576 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-05/0.5429, allocations: 41.66 kB / 0.8577 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.5434, allocations: 303.9 kB / 0.858 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.5435, allocations: 10.59 kB / 0.858 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/0.5479, allocations: 7.03 MB / 0.8648 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5479, allocations: 10.66 kB / 0.8648 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5491, allocations: 0.9753 MB / 0.8658 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.5493, allocations: 100.3 kB / 0.8659 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.5494, allocations: 11.75 kB / 0.8659 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.5495, allocations: 28.97 kB / 0.8659 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.5496, allocations: 38.58 kB / 0.866 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.5497, allocations: 13.19 kB / 0.866 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000261/0.5499, allocations: 313.3 kB / 0.8663 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-08/0.5499, allocations: 0 / 0.8663 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006871/0.5506, allocations: 193.6 kB / 0.8665 GB, free: 14.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.5519, allocations: 1.538 MB / 0.868 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.5533, allocations: 1.158 MB / 0.8691 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5533, allocations: 1.344 kB / 0.8691 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.5541, allocations: 0.8244 MB / 0.8699 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.5548, allocations: 203.9 kB / 0.8701 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006704/0.5615, allocations: 5.875 MB / 0.8758 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.5618, allocations: 404.6 kB / 0.8762 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.5621, allocations: 98.53 kB / 0.8763 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.5623, allocations: 230.1 kB / 0.8765 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of SimCode: time 1.492e-06/0.5623, allocations: 1.125 kB / 0.8765 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.6004, allocations: 16.95 MB / 0.8931 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.707, allocations: 4.812 kB / 0.8931 GB, free: 6.676 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_L.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.673712125979364] Failed to read output from testmodel.py, exit status != 0: 7.794550395105034 7.803902587 7.283843931 Calling exit ...