Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.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.001328/0.001328, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.539 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.441/1.441, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.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.073/1.073, allocations: 175.7 MB / 480.2 MB, free: 2.805 MB / 366.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.92 kB / 0.6679 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1839, allocations: 94.53 MB / 0.7602 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03496/0.2188, allocations: 27.89 MB / 0.7875 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.234, allocations: 8.352 MB / 0.7956 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.2364, allocations: 119.4 kB / 0.7957 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007728/0.2442, allocations: 2.873 MB / 0.7985 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.2489, allocations: 1.66 MB / 0.8002 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.2536, allocations: 1.728 MB / 0.8018 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008794/0.2624, allocations: 6.126 MB / 0.8078 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006112/0.2686, allocations: 3.622 MB / 0.8114 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005629/0.2742, allocations: 2.613 MB / 0.8139 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006884/0.2811, allocations: 3.002 MB / 0.8169 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.2827, allocations: 0.5078 MB / 0.8173 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.2863, allocations: 1.307 MB / 0.8186 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003335/0.2897, allocations: 2.097 MB / 0.8207 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004486/0.2941, allocations: 2.389 MB / 0.823 GB, free: 220 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.3059, allocations: 8.068 MB / 0.8309 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3059, allocations: 0 / 0.8309 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3059, allocations: 0 / 0.8309 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002473/0.3062, allocations: 0 / 0.8309 GB, free: 8.121 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01037/0.3166, allocations: 4.343 MB / 0.8351 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3166, allocations: 12.02 kB / 0.8351 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000978/0.3176, allocations: 0.5343 MB / 0.8357 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/0.322, allocations: 0.8218 MB / 0.8365 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3768/0.6988, allocations: 2.589 MB / 0.839 GB, free: 68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.699, allocations: 275.9 kB / 0.8393 GB, free: 67.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.7004, allocations: 369.8 kB / 0.8396 GB, free: 67.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.7132, allocations: 5.992 MB / 0.8455 GB, free: 65.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.7133, allocations: 17.97 kB / 0.8455 GB, free: 65.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/0.7137, allocations: 158 kB / 0.8456 GB, free: 65.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006642/0.7144, allocations: 283.4 kB / 0.8459 GB, free: 65.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.7249, allocations: 4.53 MB / 0.8503 GB, free: 64.19 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03146/0.7563, allocations: 27.5 MB / 0.8772 GB, free: 41.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.7581, allocations: 1.066 MB / 0.8782 GB, free: 40.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.7594, allocations: 0.9633 MB / 0.8792 GB, free: 40.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-05/0.7595, allocations: 11.88 kB / 0.8792 GB, free: 40.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.7596, allocations: 53.75 kB / 0.8792 GB, free: 40.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.046e-06/0.7596, allocations: 0 / 0.8792 GB, free: 40.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.02133/0.7809, allocations: 9.693 MB / 0.8887 GB, free: 34.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.7809, allocations: 64.62 kB / 0.8887 GB, free: 34.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.7828, allocations: 1.497 MB / 0.8902 GB, free: 33.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.7831, allocations: 49.67 kB / 0.8903 GB, free: 33.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/0.7839, allocations: 1.714 MB / 0.8919 GB, free: 32.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.7843, allocations: 497.8 kB / 0.8924 GB, free: 32.08 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004489/0.7847, allocations: 332.8 kB / 0.8927 GB, free: 31.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.7848, allocations: 301.1 kB / 0.893 GB, free: 31.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.7859, allocations: 0.9184 MB / 0.8939 GB, free: 31.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.7871, allocations: 1.461 MB / 0.8953 GB, free: 29.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.7898, allocations: 2.553 MB / 0.8978 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.7898, allocations: 3.719 kB / 0.8978 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005324/0.7951, allocations: 3.276 MB / 0.901 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.7951, allocations: 12 kB / 0.901 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.7952, allocations: 16 kB / 0.9011 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.7972, allocations: 0.735 MB / 0.9018 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7988, allocations: 395.3 kB / 0.9021 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.8109, allocations: 17.05 MB / 0.9188 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.8129, allocations: 99.91 kB / 0.9189 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.8131, allocations: 75.98 kB / 0.919 GB, free: 6.051 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.001943/0.8151, allocations: 1.319 MB / 0.9203 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.8155, allocations: 218.7 kB / 0.9205 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.8197, allocations: 2.753 MB / 0.9231 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8198, allocations: 12 kB / 0.9232 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.8198, allocations: 8 kB / 0.9232 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.8198, allocations: 3.984 kB / 0.9232 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.8304, allocations: 6.207 MB / 0.9292 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.8305, allocations: 4 kB / 0.9292 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.8317, allocations: 229 kB / 0.9295 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.8337, allocations: 0.6713 MB / 0.9301 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.8339, allocations: 43.97 kB / 0.9302 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/0.8514, allocations: 16.79 MB / 0.9465 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.8514, allocations: 15.88 kB / 0.9466 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006845/0.8583, allocations: 3.982 MB / 0.9505 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.8594, allocations: 467.7 kB / 0.9509 GB, free: 3.754 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.8597, allocations: 36 kB / 0.9509 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.8606, allocations: 83.83 kB / 0.951 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/0.861, allocations: 112.7 kB / 0.9511 GB, free: 3.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.8611, allocations: 47.98 kB / 0.9512 GB, free: 3.48 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001481/0.8625, allocations: 0.9903 MB / 0.9521 GB, free: 2.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8625, allocations: 0 / 0.9521 GB, free: 2.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002471/0.865, allocations: 0.6836 MB / 0.9528 GB, free: 1.816 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.007088/0.8721, allocations: 4.597 MB / 0.9573 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005815/0.8779, allocations: 3.38 MB / 0.9606 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.8779, allocations: 4 kB / 0.9606 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/0.8816, allocations: 2.249 MB / 0.9628 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.8848, allocations: 0.6779 MB / 0.9635 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/0.9237, allocations: 21.3 MB / 0.9843 GB, free: 444 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/0.9273, allocations: 2.66 MB / 0.9868 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00166/0.929, allocations: 485.4 kB / 0.9873 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/0.9308, allocations: 1.284 MB / 0.9886 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of SimCode: time 1.302e-06/0.9308, allocations: 0 / 0.9886 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1719/1.103, allocations: 57.8 MB / 1.045 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.57, allocations: 4.016 kB / 1.045 GB, free: 2.797 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.42249163700035] Failed to read output from testmodel.py, exit status != 0: 14.69200581801124 14.716163144 14.405608983 Calling exit ...