Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.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.001105/0.001105, allocations: 101.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.001026/0.001026, allocations: 209.2 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.9613/0.9613, allocations: 230.6 MB / 256 MB, free: 9.602 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.7473/0.7473, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_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.0009333/0.0009333, allocations: 66.22 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4795, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005459/0.4849, allocations: 5.276 MB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003224/0.4882, allocations: 2.617 MB / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.4884, allocations: 29.91 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.4895, allocations: 0.6831 MB / 0.8258 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.4902, allocations: 422.4 kB / 0.8262 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.4908, allocations: 391.7 kB / 0.8266 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.4915, allocations: 0.9581 MB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.492, allocations: 369.7 kB / 0.8278 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.4925, allocations: 395.5 kB / 0.8282 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.4929, allocations: 409.7 kB / 0.8286 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.493, allocations: 47.31 kB / 0.8287 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.4934, allocations: 333.3 kB / 0.829 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.4936, allocations: 250.8 kB / 0.8292 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.4938, allocations: 287 kB / 0.8295 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.4951, allocations: 0.9855 MB / 0.8305 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4951, allocations: 0.5 kB / 0.8305 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4951, allocations: 0 / 0.8305 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.4951, allocations: 0.5 kB / 0.8305 GB, free: 9.703 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.001471/0.4965, allocations: 0.9131 MB / 0.8313 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4966, allocations: 10.31 kB / 0.8314 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.413e-05/0.4967, allocations: 100.2 kB / 0.8315 GB, free: 9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.4975, allocations: 198.8 kB / 0.8316 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.4981, allocations: 455.5 kB / 0.8321 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.4982, allocations: 41.64 kB / 0.8321 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.4983, allocations: 59.56 kB / 0.8322 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009559/0.4992, allocations: 0.9773 MB / 0.8331 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4993, allocations: 7.766 kB / 0.8331 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.4993, allocations: 23.67 kB / 0.8332 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.4994, allocations: 70.64 kB / 0.8332 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.5002, allocations: 0.5673 MB / 0.8338 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.503, allocations: 3.571 MB / 0.8373 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.5033, allocations: 282.7 kB / 0.8375 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.5036, allocations: 207.6 kB / 0.8377 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.5036, allocations: 4.156 kB / 0.8377 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.5036, allocations: 38.66 kB / 0.8378 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.5036, allocations: 0 / 0.8378 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003576/0.5072, allocations: 2.331 MB / 0.84 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.5072, allocations: 55.97 kB / 0.8401 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.5076, allocations: 470.8 kB / 0.8406 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5076, allocations: 32.3 kB / 0.8406 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.5077, allocations: 348.1 kB / 0.8409 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.5078, allocations: 153.6 kB / 0.8411 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.508, allocations: 114.3 kB / 0.8412 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5081, allocations: 359.1 kB / 0.8415 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.5083, allocations: 239.5 kB / 0.8417 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.5086, allocations: 415.8 kB / 0.8421 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/0.5095, allocations: 0.6735 MB / 0.8428 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5095, allocations: 2.438 kB / 0.8428 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001098/0.5106, allocations: 0.9135 MB / 0.8437 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5106, allocations: 11.3 kB / 0.8437 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.5106, allocations: 9.188 kB / 0.8437 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004438/0.511, allocations: 218.4 kB / 0.8439 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.5113, allocations: 117.3 kB / 0.844 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.5143, allocations: 5.001 MB / 0.8489 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5145, allocations: 30.75 kB / 0.8489 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.5146, allocations: 23.16 kB / 0.849 GB, free: 12.24 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.0001928/0.5148, allocations: 223.9 kB / 0.8492 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.5148, allocations: 60.52 kB / 0.8492 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008558/0.5157, allocations: 0.7662 MB / 0.85 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5157, allocations: 6.031 kB / 0.85 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5157, allocations: 1.969 kB / 0.85 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5157, allocations: 3.984 kB / 0.85 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.5172, allocations: 1.397 MB / 0.8514 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5172, allocations: 6.281 kB / 0.8514 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5174, allocations: 73.86 kB / 0.8514 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.5177, allocations: 205.2 kB / 0.8516 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.5178, allocations: 8.656 kB / 0.8516 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.5208, allocations: 4.937 MB / 0.8565 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5208, allocations: 6.469 kB / 0.8565 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5219, allocations: 1.129 MB / 0.8576 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.522, allocations: 97.39 kB / 0.8577 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.5221, allocations: 12.12 kB / 0.8577 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.5223, allocations: 28.83 kB / 0.8577 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.5223, allocations: 41.09 kB / 0.8577 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.5223, allocations: 12.81 kB / 0.8578 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002199/0.5226, allocations: 311.4 kB / 0.8581 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5226, allocations: 0 / 0.8581 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004612/0.523, allocations: 167.2 kB / 0.8582 GB, free: 4.887 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.001472/0.5245, allocations: 1.685 MB / 0.8599 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.5257, allocations: 0.9687 MB / 0.8608 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5257, allocations: 1.281 kB / 0.8608 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.5265, allocations: 0.6667 MB / 0.8615 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.527, allocations: 180.7 kB / 0.8616 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.5327, allocations: 5.622 MB / 0.8671 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.533, allocations: 345.2 kB / 0.8674 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.5333, allocations: 122.3 kB / 0.8676 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5335, allocations: 208.7 kB / 0.8678 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/0.5335, allocations: 0 / 0.8678 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.5661, allocations: 15.61 MB / 0.883 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.706, allocations: 7.766 kB / 0.883 GB, free: 1.324 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.66955634392798] Failed to read output from testmodel.py, exit status != 0: 7.794762910809368 7.806089297 7.309232511 Calling exit ...