Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001409/0.001409, allocations: 110.7 kB / 17.6 MB, free: 4.688 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.001546/0.001546, allocations: 189.9 kB / 20.78 MB, free: 1.52 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.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.285 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.068/1.068, allocations: 175.7 MB / 480.2 MB, free: 3.176 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.75 kB / 0.6679 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.178, allocations: 94.53 MB / 0.7602 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01944/0.1974, allocations: 14.56 MB / 0.7744 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.2139, allocations: 9.754 MB / 0.784 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.2152, allocations: 59.62 kB / 0.784 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.2196, allocations: 1.732 MB / 0.7857 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004695/0.2243, allocations: 1.58 MB / 0.7872 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.2263, allocations: 0.7561 MB / 0.788 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003579/0.2299, allocations: 2.526 MB / 0.7905 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.2314, allocations: 0.9932 MB / 0.7914 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.2329, allocations: 1.071 MB / 0.7925 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.2346, allocations: 1.214 MB / 0.7937 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.2349, allocations: 164 kB / 0.7938 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.2364, allocations: 0.8111 MB / 0.7946 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006479/0.2371, allocations: 0.6308 MB / 0.7952 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.2381, allocations: 0.9407 MB / 0.7961 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.2414, allocations: 2.759 MB / 0.7988 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2414, allocations: 4 kB / 0.7988 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2414, allocations: 0 / 0.7988 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.2415, allocations: 0 / 0.7988 GB, free: 9.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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004156/0.2456, allocations: 2.191 MB / 0.801 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2457, allocations: 12.03 kB / 0.801 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.2459, allocations: 194.4 kB / 0.8012 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.2575, allocations: 2.098 MB / 0.8032 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.2602, allocations: 1.303 MB / 0.8045 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-05/0.2603, allocations: 90.73 kB / 0.8046 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.2606, allocations: 123.9 kB / 0.8047 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/0.2665, allocations: 2.683 MB / 0.8073 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.2665, allocations: 7.938 kB / 0.8073 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.2667, allocations: 55.98 kB / 0.8074 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000648/0.2674, allocations: 178.1 kB / 0.8075 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/0.2754, allocations: 2.799 MB / 0.8103 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.2915, allocations: 10.49 MB / 0.8205 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007195/0.2987, allocations: 2.454 MB / 0.8229 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.302, allocations: 1.215 MB / 0.8241 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.302, allocations: 9 kB / 0.8241 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.3021, allocations: 43.56 kB / 0.8242 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.475e-06/0.3021, allocations: 0 / 0.8242 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04816/0.3502, allocations: 13.33 MB / 0.8372 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3503, allocations: 68.72 kB / 0.8372 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3473/0.6976, allocations: 1.105 MB / 0.8383 GB, free: 72.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003039/0.6979, allocations: 49.2 kB / 0.8384 GB, free: 72.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.6984, allocations: 0.7268 MB / 0.8391 GB, free: 72.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.6988, allocations: 478.5 kB / 0.8395 GB, free: 72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006301/0.6995, allocations: 262.1 kB / 0.8398 GB, free: 71.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6996, allocations: 363.4 kB / 0.8401 GB, free: 71.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/0.7034, allocations: 1.343 MB / 0.8414 GB, free: 71.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.7071, allocations: 1.607 MB / 0.843 GB, free: 70.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007616/0.7148, allocations: 2.991 MB / 0.8459 GB, free: 69.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.7148, allocations: 2.438 kB / 0.8459 GB, free: 69.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01231/0.7271, allocations: 4.4 MB / 0.8502 GB, free: 68.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.7271, allocations: 8.219 kB / 0.8502 GB, free: 68.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.7271, allocations: 6.734 kB / 0.8502 GB, free: 68.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/0.7323, allocations: 1.426 MB / 0.8516 GB, free: 67.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.7345, allocations: 437.1 kB / 0.8521 GB, free: 67.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.7574, allocations: 26.7 MB / 0.8781 GB, free: 45.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.7599, allocations: 309.2 kB / 0.8784 GB, free: 45.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.7601, allocations: 60.88 kB / 0.8785 GB, free: 45.72 MB / 0.6387 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008592/0.761, allocations: 436.9 kB / 0.8789 GB, free: 45.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.7613, allocations: 172.6 kB / 0.8791 GB, free: 45.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.7722, allocations: 4.408 MB / 0.8834 GB, free: 43.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.7722, allocations: 12.5 kB / 0.8834 GB, free: 43.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/0.7722, allocations: 13.66 kB / 0.8834 GB, free: 43.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.7722, allocations: 11.91 kB / 0.8834 GB, free: 43.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.7852, allocations: 6.72 MB / 0.89 GB, free: 39.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.7853, allocations: 0 / 0.89 GB, free: 39.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.7869, allocations: 379.7 kB / 0.8903 GB, free: 38.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004073/0.791, allocations: 1.312 MB / 0.8916 GB, free: 38.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.7911, allocations: 35.62 kB / 0.8916 GB, free: 38.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.8093, allocations: 25.51 MB / 0.9166 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8093, allocations: 4.031 kB / 0.9166 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009533/0.8188, allocations: 4.175 MB / 0.9206 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/0.8197, allocations: 463.8 kB / 0.9211 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.8199, allocations: 31.92 kB / 0.9211 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.8218, allocations: 303.5 kB / 0.9214 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.8222, allocations: 124.8 kB / 0.9215 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.8223, allocations: 48.16 kB / 0.9216 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008168/0.8232, allocations: 0.7565 MB / 0.9223 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8232, allocations: 0 / 0.9223 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001999/0.8252, allocations: 0.5683 MB / 0.9229 GB, free: 6.41 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009569/0.8347, allocations: 4.75 MB / 0.9275 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01102/0.8457, allocations: 4.962 MB / 0.9323 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.8457, allocations: 8.125 kB / 0.9324 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0071/0.8528, allocations: 3.426 MB / 0.9357 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.8552, allocations: 0.5432 MB / 0.9362 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04357/0.8988, allocations: 19.35 MB / 0.9551 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.9002, allocations: 1.477 MB / 0.9566 GB, free: 3.035 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001643/0.9018, allocations: 421.6 kB / 0.957 GB, free: 2.617 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009702/0.9028, allocations: 0.6358 MB / 0.9576 GB, free: 1.98 MB / 0.67 GB Notification: Performance of SimCode: time 8.71e-07/0.9028, allocations: 0 / 0.9576 GB, free: 1.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/1.054, allocations: 52.43 MB / 1.009 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/19.85, allocations: 6.875 kB / 1.009 GB, free: 14.11 MB / 0.7325 GB " [Timeout remaining time 640] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.722101306018885] Failed to read output from testmodel.py, exit status != 0: 19.964445146993967 19.989465612 19.743140523 Calling exit ...