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.001336/0.001336, allocations: 104.3 kB / 16.4 MB, free: 6.496 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.001344/0.001344, 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.412/1.412, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.07/1.07, allocations: 173.5 MB / 470.7 MB, free: 13.62 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.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.002078/0.002078, allocations: 69.28 kB / 0.6479 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1851, allocations: 89.53 MB / 0.7353 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4012/0.5863, allocations: 26.63 MB / 0.7613 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.5999, allocations: 8.07 MB / 0.7692 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.6035, allocations: 115.9 kB / 0.7693 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006815/0.6103, allocations: 2.76 MB / 0.772 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.6157, allocations: 1.582 MB / 0.7735 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.6208, allocations: 1.683 MB / 0.7752 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00997/0.6308, allocations: 6.143 MB / 0.7812 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.6422, allocations: 7.319 MB / 0.7883 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005939/0.6482, allocations: 2.573 MB / 0.7908 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006532/0.6547, allocations: 2.832 MB / 0.7936 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.6566, allocations: 0.5089 MB / 0.7941 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.6606, allocations: 1.288 MB / 0.7953 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003431/0.6641, allocations: 2.05 MB / 0.7973 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005427/0.6695, allocations: 2.383 MB / 0.7997 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.6817, allocations: 8.076 MB / 0.8076 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6817, allocations: 1.156 kB / 0.8076 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.686e-06/0.6817, allocations: 4 kB / 0.8076 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002389/0.682, allocations: 0 / 0.8076 GB, free: 4.457 MB / 0.5919 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.01357/0.6956, allocations: 4.333 MB / 0.8118 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6956, allocations: 11.34 kB / 0.8118 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003013/0.6986, allocations: 0.5393 MB / 0.8123 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/0.7049, allocations: 0.8204 MB / 0.8131 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007579/0.7126, allocations: 2.595 MB / 0.8157 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.7129, allocations: 270.2 kB / 0.8159 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/0.7147, allocations: 379 kB / 0.8163 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.7301, allocations: 5.992 MB / 0.8221 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.7303, allocations: 19.83 kB / 0.8222 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005614/0.7308, allocations: 152 kB / 0.8223 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006944/0.7316, allocations: 286.9 kB / 0.8226 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009879/0.7414, allocations: 4.528 MB / 0.827 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03476/0.7762, allocations: 27.5 MB / 0.8538 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.7782, allocations: 1.123 MB / 0.8549 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.7797, allocations: 1.012 MB / 0.8559 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.84e-05/0.7798, allocations: 13 kB / 0.8559 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.7799, allocations: 43.56 kB / 0.856 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 2.745e-06/0.7799, allocations: 0 / 0.856 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.02433/0.8042, allocations: 9.731 MB / 0.8655 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.8043, allocations: 64.72 kB / 0.8656 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.8065, allocations: 1.494 MB / 0.867 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.8067, allocations: 49.7 kB / 0.8671 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.8082, allocations: 1.727 MB / 0.8687 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/0.8088, allocations: 487.8 kB / 0.8692 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005831/0.8093, allocations: 331.4 kB / 0.8695 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8095, allocations: 309.1 kB / 0.8698 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.811, allocations: 0.9174 MB / 0.8707 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.8131, allocations: 1.459 MB / 0.8721 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.8169, allocations: 2.55 MB / 0.8746 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.8169, allocations: 4 kB / 0.8746 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006657/0.8236, allocations: 3.303 MB / 0.8779 GB, free: 13.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.8236, allocations: 12 kB / 0.8779 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.8237, allocations: 16 kB / 0.8779 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.8261, allocations: 0.7413 MB / 0.8786 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.8278, allocations: 383.4 kB / 0.879 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.8474, allocations: 17.04 MB / 0.8956 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.8493, allocations: 104.1 kB / 0.8957 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.8495, allocations: 76 kB / 0.8958 GB, free: 9.758 MB / 0.6856 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.002716/0.8523, allocations: 1.32 MB / 0.8971 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.8528, allocations: 214.7 kB / 0.8973 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/0.8586, allocations: 2.784 MB / 0.9 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.8586, allocations: 16 kB / 0.9 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.8587, allocations: 4 kB / 0.9 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.8587, allocations: 7.969 kB / 0.9 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.8716, allocations: 6.224 MB / 0.9061 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8717, allocations: 4 kB / 0.9061 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.873, allocations: 232.3 kB / 0.9063 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/0.8752, allocations: 0.671 MB / 0.907 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.8754, allocations: 32 kB / 0.907 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/0.8944, allocations: 16.8 MB / 0.9234 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.8944, allocations: 8 kB / 0.9234 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007745/0.9022, allocations: 4.013 MB / 0.9274 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.9035, allocations: 471.6 kB / 0.9278 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/0.904, allocations: 35.92 kB / 0.9278 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9051, allocations: 83.89 kB / 0.9279 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/0.9054, allocations: 112.7 kB / 0.928 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9055, allocations: 40 kB / 0.9281 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001608/0.9071, allocations: 0.9903 MB / 0.929 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.9072, allocations: 0 / 0.929 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002876/0.91, allocations: 0.6875 MB / 0.9297 GB, free: 5.406 MB / 0.7169 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.008282/0.9183, allocations: 4.613 MB / 0.9342 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00658/0.925, allocations: 3.53 MB / 0.9377 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.925, allocations: 7.938 kB / 0.9377 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/0.9288, allocations: 2.295 MB / 0.9399 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/0.9322, allocations: 0.673 MB / 0.9406 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/0.9709, allocations: 21.25 MB / 0.9613 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/0.9749, allocations: 2.664 MB / 0.9639 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001635/0.9766, allocations: 485.4 kB / 0.9644 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/0.9785, allocations: 1.28 MB / 0.9656 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of SimCode: time 1.273e-06/0.9785, allocations: 0 / 0.9656 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/1.122, allocations: 57.18 MB / 1.021 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.3, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.8106 GB " [Timeout remaining time 646] (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 sys.exit(0), Time elapsed: 18.149183118948713] Failed to read output from testmodel.py, exit status != 0: 14.40992636908777 14.422733412 13.738461466 Calling exit ...