Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.083/1.083, allocations: 173.4 MB / 470.6 MB, free: 13.63 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.8 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1929, allocations: 89.51 MB / 0.7352 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007809/0.2008, allocations: 5.54 MB / 0.7406 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.2055, allocations: 2.638 MB / 0.7432 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.206, allocations: 31.81 kB / 0.7432 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.2081, allocations: 0.6689 MB / 0.7438 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2091, allocations: 413.7 kB / 0.7442 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2101, allocations: 415 kB / 0.7446 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2113, allocations: 0.9552 MB / 0.7456 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.212, allocations: 470.5 kB / 0.746 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.2125, allocations: 370.6 kB / 0.7464 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.2131, allocations: 406.4 kB / 0.7468 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.2132, allocations: 48 kB / 0.7468 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.214, allocations: 359.3 kB / 0.7472 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.2143, allocations: 247.2 kB / 0.7474 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.2147, allocations: 346.3 kB / 0.7477 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.216, allocations: 0.9844 MB / 0.7487 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.216, allocations: 4 kB / 0.7487 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.216, allocations: 0 / 0.7487 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.216, allocations: 0 / 0.7487 GB, free: 4.418 MB / 0.5762 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.001614/0.2176, allocations: 0.9961 MB / 0.7497 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2177, allocations: 16.03 kB / 0.7497 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.2178, allocations: 106.7 kB / 0.7498 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2192, allocations: 192.3 kB / 0.75 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.2201, allocations: 0.5262 MB / 0.7505 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.2201, allocations: 37.36 kB / 0.7505 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.2203, allocations: 64.44 kB / 0.7506 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2216, allocations: 0.8277 MB / 0.7514 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.2216, allocations: 7.984 kB / 0.7514 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.2217, allocations: 27.98 kB / 0.7514 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/0.2219, allocations: 60.95 kB / 0.7515 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/0.2229, allocations: 0.5735 MB / 0.752 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.325/0.5479, allocations: 4.57 MB / 0.7565 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.5485, allocations: 295.2 kB / 0.7568 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.5488, allocations: 223.1 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.5488, allocations: 8.281 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5489, allocations: 36.5 kB / 0.757 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/0.5489, allocations: 4.797 kB / 0.757 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005282/0.5542, allocations: 2.64 MB / 0.7596 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.5542, allocations: 59.34 kB / 0.7597 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.5547, allocations: 462 kB / 0.7601 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.5548, allocations: 32.08 kB / 0.7601 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.5549, allocations: 356 kB / 0.7605 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-05/0.555, allocations: 145.9 kB / 0.7606 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.5552, allocations: 104.4 kB / 0.7607 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.5553, allocations: 366.8 kB / 0.7611 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.5556, allocations: 237.2 kB / 0.7613 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.556, allocations: 407.7 kB / 0.7617 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007681/0.5568, allocations: 0.685 MB / 0.7623 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5568, allocations: 2.516 kB / 0.7624 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001547/0.5584, allocations: 0.9208 MB / 0.7633 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5584, allocations: 9.344 kB / 0.7633 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5584, allocations: 8.484 kB / 0.7633 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007652/0.5592, allocations: 221.1 kB / 0.7635 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.5597, allocations: 114.7 kB / 0.7636 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.5637, allocations: 5.34 MB / 0.7688 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.5642, allocations: 34.03 kB / 0.7688 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.5642, allocations: 25.19 kB / 0.7689 GB, free: 8.586 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.0003011/0.5645, allocations: 223.2 kB / 0.7691 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.5646, allocations: 68.56 kB / 0.7691 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.5661, allocations: 0.7657 MB / 0.7699 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5661, allocations: 7.766 kB / 0.7699 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5661, allocations: 10.56 kB / 0.7699 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5661, allocations: 1.969 kB / 0.7699 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.5685, allocations: 1.496 MB / 0.7714 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5685, allocations: 0 / 0.7714 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.5689, allocations: 74.48 kB / 0.7714 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006768/0.5696, allocations: 205.8 kB / 0.7716 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.5696, allocations: 6.812 kB / 0.7716 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.5737, allocations: 5.273 MB / 0.7768 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5737, allocations: 2.531 kB / 0.7768 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.5755, allocations: 1.141 MB / 0.7779 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.5757, allocations: 173.1 kB / 0.7781 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.5758, allocations: 11.09 kB / 0.7781 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.5761, allocations: 22.95 kB / 0.7781 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.5762, allocations: 46.66 kB / 0.7781 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.5762, allocations: 9.781 kB / 0.7782 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004103/0.5767, allocations: 315.8 kB / 0.7785 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5767, allocations: 1.344 kB / 0.7785 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008663/0.5775, allocations: 169.3 kB / 0.7786 GB, free: 3.305 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.002125/0.5797, allocations: 1.695 MB / 0.7803 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.5815, allocations: 1.026 MB / 0.7813 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.5815, allocations: 0 / 0.7813 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.5826, allocations: 0.6735 MB / 0.7819 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5836, allocations: 188.6 kB / 0.7821 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00912/0.5927, allocations: 5.648 MB / 0.7876 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.5935, allocations: 0.9524 MB / 0.7886 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004508/0.5939, allocations: 112.1 kB / 0.7887 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.5942, allocations: 220.5 kB / 0.7889 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.5943, allocations: 0 / 0.7889 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/0.6514, allocations: 14.19 MB / 0.8027 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.51, allocations: 12.02 kB / 0.8027 GB, free: 9.371 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.323692811070941] Failed to read output from testmodel.py, exit status != 0: 11.598855247022584 11.611457184 11.393162393 Calling exit ...