Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001341/0.001341, allocations: 105.5 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.00133/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.443/1.443, 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.059/1.059, allocations: 173.4 MB / 470.6 MB, free: 13.77 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_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.58 kB / 0.6478 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2123, allocations: 89.51 MB / 0.7352 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009248/0.2216, allocations: 6.799 MB / 0.7418 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.2271, allocations: 3.067 MB / 0.7448 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.2277, allocations: 27.81 kB / 0.7448 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.2304, allocations: 0.9523 MB / 0.7458 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.2319, allocations: 0.4973 MB / 0.7463 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2331, allocations: 449.7 kB / 0.7467 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.2347, allocations: 1.22 MB / 0.7479 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.2357, allocations: 0.6738 MB / 0.7485 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.2365, allocations: 470.3 kB / 0.749 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008872/0.2374, allocations: 0.5215 MB / 0.7495 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.2375, allocations: 68 kB / 0.7496 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.2384, allocations: 383.2 kB / 0.7499 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.2387, allocations: 315.1 kB / 0.7502 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.2392, allocations: 449.8 kB / 0.7507 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.2408, allocations: 1.233 MB / 0.7519 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2408, allocations: 4 kB / 0.7519 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2409, allocations: 0 / 0.7519 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.2409, allocations: 0 / 0.7519 GB, free: 1.195 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.3732/0.6141, allocations: 1.184 MB / 0.753 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6142, allocations: 9.219 kB / 0.753 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003166/0.6145, allocations: 121.4 kB / 0.7531 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.6163, allocations: 240.2 kB / 0.7534 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.6174, allocations: 0.6085 MB / 0.754 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.6175, allocations: 49.52 kB / 0.754 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.6176, allocations: 68.12 kB / 0.7541 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.6193, allocations: 1.082 MB / 0.7551 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.6194, allocations: 9.188 kB / 0.7551 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.6195, allocations: 33.86 kB / 0.7552 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/0.6197, allocations: 85.06 kB / 0.7553 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.621, allocations: 0.7574 MB / 0.756 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/0.6256, allocations: 5.875 MB / 0.7617 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.6267, allocations: 0.5551 MB / 0.7623 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.6272, allocations: 326.8 kB / 0.7626 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.6272, allocations: 7.922 kB / 0.7626 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6273, allocations: 37.88 kB / 0.7626 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 3.957e-06/0.6273, allocations: 1.641 kB / 0.7626 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003575/0.6309, allocations: 1.999 MB / 0.7646 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.6309, allocations: 57.5 kB / 0.7646 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.6315, allocations: 0.5652 MB / 0.7652 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.6315, allocations: 35.45 kB / 0.7652 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.6317, allocations: 431 kB / 0.7656 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.6318, allocations: 178.2 kB / 0.7658 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.632, allocations: 126.4 kB / 0.7659 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6321, allocations: 383.2 kB / 0.7663 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.6325, allocations: 274.7 kB / 0.7666 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.633, allocations: 495.2 kB / 0.767 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/0.6339, allocations: 0.8088 MB / 0.7678 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6339, allocations: 1.5 kB / 0.7678 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001683/0.6356, allocations: 1.095 MB / 0.7689 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6356, allocations: 6.688 kB / 0.7689 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6357, allocations: 8.781 kB / 0.7689 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/0.6365, allocations: 278.4 kB / 0.7692 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.6369, allocations: 124.5 kB / 0.7693 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/0.6419, allocations: 7.136 MB / 0.7763 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.6425, allocations: 39.53 kB / 0.7763 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.6426, allocations: 27 kB / 0.7763 GB, free: 5.855 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003488/0.643, allocations: 260.2 kB / 0.7766 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6431, allocations: 80.22 kB / 0.7766 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.6446, allocations: 0.8869 MB / 0.7775 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6447, allocations: 9.719 kB / 0.7775 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6447, allocations: 2.844 kB / 0.7775 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6447, allocations: 2.672 kB / 0.7775 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.6473, allocations: 1.736 MB / 0.7792 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6473, allocations: 1.281 kB / 0.7792 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.6476, allocations: 55.88 kB / 0.7793 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007436/0.6483, allocations: 274.9 kB / 0.7795 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.6484, allocations: 6.75 kB / 0.7795 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005953/0.6543, allocations: 7.129 MB / 0.7865 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6544, allocations: 2.516 kB / 0.7865 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.6563, allocations: 0.9892 MB / 0.7875 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.6566, allocations: 196.9 kB / 0.7877 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.6567, allocations: 16.19 kB / 0.7877 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.6571, allocations: 29.77 kB / 0.7877 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6572, allocations: 46 kB / 0.7878 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.6573, allocations: 14.06 kB / 0.7878 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005061/0.6578, allocations: 393.9 kB / 0.7881 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6578, allocations: 0 / 0.7881 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000885/0.6587, allocations: 225 kB / 0.7884 GB, free: 14.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/0.6606, allocations: 1.551 MB / 0.7899 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.6628, allocations: 1.277 MB / 0.7911 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6628, allocations: 5.25 kB / 0.7911 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.6641, allocations: 0.8904 MB / 0.792 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6651, allocations: 220.5 kB / 0.7922 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/0.6744, allocations: 6.407 MB / 0.7985 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/0.6754, allocations: 1.011 MB / 0.7994 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005274/0.6759, allocations: 126.5 kB / 0.7996 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.6763, allocations: 251.1 kB / 0.7998 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.6763, allocations: 1.094 kB / 0.7998 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07075/0.7471, allocations: 17.47 MB / 0.8169 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.38, allocations: 9.359 kB / 0.8169 GB, free: 15.98 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.270075784996152] Failed to read output from testmodel.py, exit status != 0: 11.475772597943433 11.491591792 11.246930514 Calling exit ...