Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001246/0.001246, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001233/0.001233, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.417/1.417, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.07/1.07, allocations: 175.7 MB / 480.2 MB, free: 2.773 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 69.08 kB / 0.6679 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1864, allocations: 94.53 MB / 0.7602 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04333/0.2297, allocations: 34.24 MB / 0.7937 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.2496, allocations: 10.66 MB / 0.8041 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.2525, allocations: 147.2 kB / 0.8042 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.2628, allocations: 3.856 MB / 0.808 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.2689, allocations: 1.956 MB / 0.8099 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00615/0.2751, allocations: 2.192 MB / 0.812 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.2858, allocations: 7.329 MB / 0.8192 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007737/0.2935, allocations: 4.823 MB / 0.8239 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.2986, allocations: 3.225 MB / 0.827 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006211/0.3048, allocations: 3.676 MB / 0.8306 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.3064, allocations: 0.6445 MB / 0.8313 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/0.3105, allocations: 1.814 MB / 0.833 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003793/0.3143, allocations: 2.603 MB / 0.8356 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005021/0.3193, allocations: 2.898 MB / 0.8384 GB, free: 388 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4368/0.7561, allocations: 10.14 MB / 0.8483 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7561, allocations: 0.7812 kB / 0.8483 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7561, allocations: 0 / 0.8483 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003023/0.7564, allocations: 0 / 0.8483 GB, free: 23.18 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01962/0.776, allocations: 5.124 MB / 0.8533 GB, free: 21.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.7761, allocations: 11.41 kB / 0.8533 GB, free: 21.15 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002461/0.7786, allocations: 0.6828 MB / 0.854 GB, free: 21.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/0.7853, allocations: 0.9795 MB / 0.855 GB, free: 20.81 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006681/0.792, allocations: 3.053 MB / 0.8579 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.7923, allocations: 345.3 kB / 0.8583 GB, free: 20.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.7944, allocations: 466.5 kB / 0.8587 GB, free: 20.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/0.8106, allocations: 7.666 MB / 0.8662 GB, free: 19.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.8108, allocations: 30.55 kB / 0.8662 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007019/0.8115, allocations: 201.6 kB / 0.8664 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003726/0.8119, allocations: 315.6 kB / 0.8667 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.8231, allocations: 5.703 MB / 0.8723 GB, free: 19.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/0.8578, allocations: 34.9 MB / 0.9064 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.8606, allocations: 2.007 MB / 0.9083 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.862, allocations: 1.13 MB / 0.9094 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-05/0.8621, allocations: 17.86 kB / 0.9094 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8621, allocations: 49.56 kB / 0.9095 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 3.066e-06/0.8621, allocations: 0 / 0.9095 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.01405/0.8762, allocations: 7.114 MB / 0.9164 GB, free: 13.74 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.8762, allocations: 64.59 kB / 0.9165 GB, free: 13.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.8781, allocations: 1.491 MB / 0.918 GB, free: 12.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.8782, allocations: 45.64 kB / 0.918 GB, free: 12.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.8796, allocations: 2.059 MB / 0.92 GB, free: 10.97 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.8801, allocations: 0.5032 MB / 0.9205 GB, free: 10.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005654/0.8807, allocations: 358.9 kB / 0.9208 GB, free: 10.33 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8808, allocations: 301.1 kB / 0.9211 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.8821, allocations: 0.9121 MB / 0.922 GB, free: 9.559 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.884, allocations: 1.598 MB / 0.9236 GB, free: 8.176 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.8872, allocations: 2.729 MB / 0.9262 GB, free: 6.246 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.8873, allocations: 5.312 kB / 0.9263 GB, free: 6.246 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005705/0.893, allocations: 3.518 MB / 0.9297 GB, free: 4.469 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.893, allocations: 17.19 kB / 0.9297 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.893, allocations: 22.66 kB / 0.9297 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.8955, allocations: 0.9 MB / 0.9306 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.8966, allocations: 355 kB / 0.9309 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.9196, allocations: 23.11 MB / 0.9535 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.9217, allocations: 99.95 kB / 0.9536 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.9219, allocations: 92 kB / 0.9537 GB, free: 11.34 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.004409/0.9263, allocations: 1.608 MB / 0.9553 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.9269, allocations: 218.6 kB / 0.9555 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/0.9327, allocations: 2.956 MB / 0.9584 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.9327, allocations: 16 kB / 0.9584 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.9327, allocations: 12 kB / 0.9584 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.9327, allocations: 11.97 kB / 0.9584 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.946, allocations: 7.321 MB / 0.9656 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.946, allocations: 4 kB / 0.9656 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.9469, allocations: 179 kB / 0.9657 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/0.9494, allocations: 0.8208 MB / 0.9665 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.9496, allocations: 28 kB / 0.9666 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02247/0.972, allocations: 21.96 MB / 0.988 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.972, allocations: 9.969 kB / 0.988 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00582/0.9778, allocations: 3.011 MB / 0.9909 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.9791, allocations: 471.6 kB / 0.9914 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.9794, allocations: 31.98 kB / 0.9914 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008443/0.9802, allocations: 71.92 kB / 0.9915 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.9806, allocations: 123 kB / 0.9916 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/0.9807, allocations: 48.05 kB / 0.9917 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001515/0.9822, allocations: 0.9717 MB / 0.9926 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9822, allocations: 0 / 0.9926 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003601/0.9858, allocations: 0.7852 MB / 0.9934 GB, free: 0.8594 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005682/0.9915, allocations: 3.603 MB / 0.9969 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006214/0.9977, allocations: 3.928 MB / 1.001 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.9977, allocations: 0 / 1.001 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003899/1.002, allocations: 2.663 MB / 1.003 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.005, allocations: 0.7316 MB / 1.004 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/1.043, allocations: 22.53 MB / 1.026 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/1.047, allocations: 3.105 MB / 1.029 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001505/1.048, allocations: 454 kB / 1.03 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.05, allocations: 1.542 MB / 1.031 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of SimCode: time 7.71e-07/1.05, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/1.192, allocations: 62.08 MB / 1.092 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.75, allocations: 4.062 kB / 1.092 GB, free: 11.94 MB / 0.8419 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.482498605997534] Failed to read output from testmodel.py, exit status != 0: 14.858731298998464 14.875377487 14.115854302 Calling exit ...