Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.001327/0.001327, allocations: 110.1 kB / 16.4 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.001331/0.00133, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.4/1.4, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.05/1.05, allocations: 173.4 MB / 470.7 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.56 kB / 0.6478 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1882, allocations: 89.53 MB / 0.7353 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007326/0.1955, allocations: 5.455 MB / 0.7406 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.1998, allocations: 2.63 MB / 0.7432 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2, allocations: 19.88 kB / 0.7432 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.2018, allocations: 0.6768 MB / 0.7438 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.2027, allocations: 413.7 kB / 0.7442 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.2036, allocations: 393.9 kB / 0.7446 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.2049, allocations: 0.9475 MB / 0.7455 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.2056, allocations: 462.5 kB / 0.746 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/0.2062, allocations: 370.5 kB / 0.7463 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.2067, allocations: 402.5 kB / 0.7467 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.2068, allocations: 51.94 kB / 0.7468 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.2076, allocations: 371.2 kB / 0.7471 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.2078, allocations: 243.3 kB / 0.7473 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.2082, allocations: 346.3 kB / 0.7477 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.2094, allocations: 0.9766 MB / 0.7486 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2094, allocations: 0 / 0.7486 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2094, allocations: 4 kB / 0.7486 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2094, allocations: 0 / 0.7486 GB, free: 4.457 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.001728/0.2111, allocations: 1 MB / 0.7496 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.2112, allocations: 8.031 kB / 0.7496 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.2113, allocations: 98.69 kB / 0.7497 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.2128, allocations: 200.3 kB / 0.7499 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.2136, allocations: 0.5184 MB / 0.7504 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.2136, allocations: 41.36 kB / 0.7505 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.2138, allocations: 48.56 kB / 0.7505 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.215, allocations: 0.8355 MB / 0.7513 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.2151, allocations: 11.89 kB / 0.7513 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.2151, allocations: 27.98 kB / 0.7514 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.2153, allocations: 64.94 kB / 0.7514 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009185/0.2163, allocations: 0.5658 MB / 0.752 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3838/0.6001, allocations: 4.557 MB / 0.7564 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.6007, allocations: 298.6 kB / 0.7567 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.601, allocations: 227.4 kB / 0.7569 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.601, allocations: 8.469 kB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.6011, allocations: 34.92 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.6011, allocations: 1.062 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005899/0.607, allocations: 2.642 MB / 0.7595 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.6071, allocations: 55.56 kB / 0.7596 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.6077, allocations: 454.4 kB / 0.76 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.6077, allocations: 36.11 kB / 0.7601 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.6079, allocations: 345.2 kB / 0.7604 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.608, allocations: 153.6 kB / 0.7605 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6082, allocations: 102.8 kB / 0.7606 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6084, allocations: 368.7 kB / 0.761 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.6088, allocations: 239.4 kB / 0.7612 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.6093, allocations: 406.9 kB / 0.7616 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.6102, allocations: 0.6835 MB / 0.7623 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6102, allocations: 1.094 kB / 0.7623 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00172/0.6119, allocations: 0.9203 MB / 0.7632 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.612, allocations: 9.328 kB / 0.7632 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.612, allocations: 11.47 kB / 0.7632 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/0.6128, allocations: 223.8 kB / 0.7634 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.6134, allocations: 114.2 kB / 0.7635 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.6179, allocations: 5.34 MB / 0.7687 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.6185, allocations: 36.45 kB / 0.7688 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.6186, allocations: 21.73 kB / 0.7688 GB, free: 8.617 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.0003942/0.619, allocations: 221.7 kB / 0.769 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6192, allocations: 57.2 kB / 0.769 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.6209, allocations: 0.7691 MB / 0.7698 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.6209, allocations: 5 kB / 0.7698 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.6209, allocations: 6.531 kB / 0.7698 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6209, allocations: 6.156 kB / 0.7698 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.6234, allocations: 1.499 MB / 0.7713 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6235, allocations: 0 / 0.7713 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.6238, allocations: 67.66 kB / 0.7713 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006891/0.6245, allocations: 206.4 kB / 0.7715 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.6246, allocations: 9.203 kB / 0.7716 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.6286, allocations: 5.28 MB / 0.7767 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6287, allocations: 5.5 kB / 0.7767 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.6304, allocations: 1.136 MB / 0.7778 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.6307, allocations: 170.5 kB / 0.778 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.6308, allocations: 13.55 kB / 0.778 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.6311, allocations: 26.73 kB / 0.778 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.6312, allocations: 44.27 kB / 0.7781 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.6313, allocations: 9.906 kB / 0.7781 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000399/0.6317, allocations: 312.6 kB / 0.7784 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6317, allocations: 0 / 0.7784 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000851/0.6325, allocations: 168.5 kB / 0.7785 GB, free: 3.344 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.001989/0.6345, allocations: 1.697 MB / 0.7802 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.6363, allocations: 1.021 MB / 0.7812 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6364, allocations: 0.9062 kB / 0.7812 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.6374, allocations: 0.6798 MB / 0.7819 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6385, allocations: 179.5 kB / 0.782 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.6489, allocations: 5.645 MB / 0.7875 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009166/0.6499, allocations: 0.9542 MB / 0.7885 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005327/0.6504, allocations: 109 kB / 0.7886 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.6508, allocations: 210.2 kB / 0.7888 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.743e-06/0.6508, allocations: 4 kB / 0.7888 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/0.7173, allocations: 14.09 MB / 0.8025 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.64, allocations: 8.328 kB / 0.8025 GB, free: 9.523 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.493173039983958] Failed to read output from testmodel.py, exit status != 0: 11.734989200020209 11.758189062 11.544739857 Calling exit ...