Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001721/0.001721, allocations: 111.4 kB / 16.41 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.002066/0.002066, 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.524/1.524, 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.13/1.13, allocations: 173.5 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 178] 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.36 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1873, allocations: 89.52 MB / 0.7353 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.4285/0.6159, allocations: 30.74 MB / 0.7653 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.6333, allocations: 13.59 MB / 0.7786 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/0.6373, allocations: 143.4 kB / 0.7787 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00791/0.6453, allocations: 3.196 MB / 0.7818 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.6555, allocations: 2.658 MB / 0.7844 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006478/0.662, allocations: 2.023 MB / 0.7864 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01281/0.6749, allocations: 7.62 MB / 0.7938 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.6883, allocations: 8.242 MB / 0.8019 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.6995, allocations: 3.403 MB / 0.8052 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008556/0.7081, allocations: 3.392 MB / 0.8085 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002893/0.7111, allocations: 0.5953 MB / 0.8091 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007312/0.7184, allocations: 1.488 MB / 0.8106 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005827/0.7243, allocations: 2.371 MB / 0.8129 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0088/0.7331, allocations: 2.885 MB / 0.8157 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.7513, allocations: 9.485 MB / 0.8249 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7514, allocations: 0 / 0.8249 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7514, allocations: 0 / 0.8249 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003285/0.7517, allocations: 4 kB / 0.825 GB, free: 8.082 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01453/0.7662, allocations: 5.263 MB / 0.8301 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.7663, allocations: 12.02 kB / 0.8301 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002034/0.7684, allocations: 0.6203 MB / 0.8307 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.7754, allocations: 1.028 MB / 0.8317 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009088/0.7845, allocations: 3.095 MB / 0.8347 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/0.7849, allocations: 326.8 kB / 0.835 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.7869, allocations: 411.9 kB / 0.8354 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.8053, allocations: 6.787 MB / 0.8421 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.8056, allocations: 23.83 kB / 0.8421 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/0.8068, allocations: 188 kB / 0.8423 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009622/0.8077, allocations: 368 kB / 0.8426 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.8186, allocations: 5.118 MB / 0.8476 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04681/0.8655, allocations: 30.57 MB / 0.8775 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.8679, allocations: 1.391 MB / 0.8788 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.8699, allocations: 1.331 MB / 0.8801 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.87, allocations: 13.31 kB / 0.8801 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.8701, allocations: 43.88 kB / 0.8802 GB, free: 12.24 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.146e-06/0.8701, allocations: 7.938 kB / 0.8802 GB, free: 12.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.09182/0.9619, allocations: 23.16 MB / 0.9028 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.962, allocations: 69.41 kB / 0.9029 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.9659, allocations: 2.059 MB / 0.9049 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/0.9662, allocations: 61.7 kB / 0.9049 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.9683, allocations: 2.066 MB / 0.907 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.9696, allocations: 0.7128 MB / 0.9077 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.9713, allocations: 408.4 kB / 0.9081 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.9715, allocations: 301.1 kB / 0.9083 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.9743, allocations: 1.437 MB / 0.9097 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.9775, allocations: 2.006 MB / 0.9117 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005926/0.9835, allocations: 3.7 MB / 0.9153 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.9836, allocations: 4 kB / 0.9153 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01272/0.9963, allocations: 5.67 MB / 0.9209 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.9964, allocations: 21.97 kB / 0.9209 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.9964, allocations: 16 kB / 0.9209 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007214/1.004, allocations: 2.084 MB / 0.9229 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.005, allocations: 379.4 kB / 0.9233 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0463/1.052, allocations: 38.46 MB / 0.9608 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/1.054, allocations: 127.9 kB / 0.961 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/1.055, allocations: 95.98 kB / 0.9611 GB, free: 6.09 MB / 0.7481 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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.003506/1.058, allocations: 1.507 MB / 0.9625 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008628/1.059, allocations: 294.2 kB / 0.9628 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.071, allocations: 5.219 MB / 0.9679 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.071, allocations: 23.98 kB / 0.9679 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.391e-05/1.071, allocations: 20 kB / 0.968 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/1.071, allocations: 7.969 kB / 0.968 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/1.093, allocations: 9.661 MB / 0.9774 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.093, allocations: 11.94 kB / 0.9774 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/1.094, allocations: 219.6 kB / 0.9776 GB, free: 4.844 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00626/1.101, allocations: 1.846 MB / 0.9794 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/1.101, allocations: 36 kB / 0.9795 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04412/1.145, allocations: 37.46 MB / 1.016 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.145, allocations: 11.98 kB / 1.016 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.155, allocations: 4.934 MB / 1.021 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.157, allocations: 0.6279 MB / 1.021 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007586/1.158, allocations: 44 kB / 1.022 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/1.159, allocations: 123.8 kB / 1.022 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006703/1.16, allocations: 197.5 kB / 1.022 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.16, allocations: 60 kB / 1.022 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002616/1.163, allocations: 1.374 MB / 1.023 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4e-07/1.163, allocations: 4 kB / 1.023 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004227/1.167, allocations: 1.047 MB / 1.024 GB, free: 2.316 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01035/1.178, allocations: 5.541 MB / 1.03 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.189, allocations: 6.311 MB / 1.036 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.189, allocations: 4 kB / 1.036 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007863/1.197, allocations: 4.406 MB / 1.04 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/1.203, allocations: 0.9822 MB / 1.041 GB, free: 476 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06666/1.27, allocations: 30.8 MB / 1.071 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3655/1.635, allocations: 3.125 MB / 1.074 GB, free: 267.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00206/1.638, allocations: 0.516 MB / 1.075 GB, free: 267.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/1.639, allocations: 1.673 MB / 1.076 GB, free: 267.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.543e-06/1.639, allocations: 0 / 1.076 GB, free: 267.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/1.818, allocations: 88.06 MB / 1.162 GB, free: 220.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/17.2, allocations: 16.16 kB / 1.162 GB, free: 220.8 MB / 0.8575 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.3319355212152] Failed to read output from testmodel.py, exit status != 0: 17.3285977228079 17.347169759 16.592491119 Calling exit ...