Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.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.001339/0.001339, allocations: 108.3 kB / 17.96 MB, free: 4.039 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.001305/0.001305, allocations: 200.4 kB / 21.22 MB, free: 0.793 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.478/1.478, allocations: 225.6 MB / 249.9 MB, free: 13.32 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.087/1.087, allocations: 175.7 MB / 480.8 MB, free: 7.887 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_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.58 kB / 0.6688 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1865, allocations: 94.53 MB / 0.7611 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3787/0.5652, allocations: 36.78 MB / 0.797 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.5866, allocations: 10.31 MB / 0.8071 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004326/0.5909, allocations: 148.8 kB / 0.8072 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.6019, allocations: 3.946 MB / 0.8111 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.6087, allocations: 2.148 MB / 0.8132 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.6148, allocations: 2.04 MB / 0.8152 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.6257, allocations: 7.966 MB / 0.823 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008931/0.6347, allocations: 4.906 MB / 0.8277 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007157/0.6418, allocations: 3.422 MB / 0.8311 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009977/0.6518, allocations: 3.936 MB / 0.8349 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003316/0.6551, allocations: 0.6822 MB / 0.8356 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006323/0.6614, allocations: 1.465 MB / 0.837 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005003/0.6664, allocations: 2.689 MB / 0.8397 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006551/0.673, allocations: 3.101 MB / 0.8427 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.6875, allocations: 10.41 MB / 0.8528 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6875, allocations: 0 / 0.8528 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6875, allocations: 0 / 0.8528 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003408/0.6879, allocations: 0 / 0.8528 GB, free: 8.723 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0162/0.7041, allocations: 5.548 MB / 0.8583 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7041, allocations: 8.031 kB / 0.8583 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001264/0.7054, allocations: 0.7023 MB / 0.859 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.7101, allocations: 0.9889 MB / 0.8599 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005879/0.716, allocations: 3.196 MB / 0.863 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.7164, allocations: 365.9 kB / 0.8634 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.7174, allocations: 464.3 kB / 0.8638 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.7314, allocations: 7.906 MB / 0.8716 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.7315, allocations: 27.77 kB / 0.8716 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005396/0.732, allocations: 204 kB / 0.8718 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00056/0.7326, allocations: 369.1 kB / 0.8721 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.7433, allocations: 5.941 MB / 0.8779 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.7837, allocations: 36.01 MB / 0.9131 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.7873, allocations: 1.986 MB / 0.915 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.7893, allocations: 1.333 MB / 0.9163 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.693e-05/0.7894, allocations: 17.31 kB / 0.9164 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.7894, allocations: 63.75 kB / 0.9164 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 2.825e-06/0.7894, allocations: 0 / 0.9164 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01485/0.8043, allocations: 7.578 MB / 0.9238 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.8043, allocations: 72.66 kB / 0.9239 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.8071, allocations: 1.86 MB / 0.9257 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.8073, allocations: 57.7 kB / 0.9258 GB, free: 10 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.8089, allocations: 2.188 MB / 0.9279 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006122/0.8095, allocations: 0.5771 MB / 0.9285 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/0.8102, allocations: 411.9 kB / 0.9289 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8103, allocations: 301.1 kB / 0.9291 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.812, allocations: 1.062 MB / 0.9302 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.8143, allocations: 1.764 MB / 0.9319 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/0.8185, allocations: 3.045 MB / 0.9349 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.8185, allocations: 8 kB / 0.9349 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006866/0.8254, allocations: 3.91 MB / 0.9387 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.8255, allocations: 16.19 kB / 0.9387 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/0.8255, allocations: 24 kB / 0.9387 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/0.8283, allocations: 0.9272 MB / 0.9396 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.83, allocations: 435.2 kB / 0.9401 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/0.8534, allocations: 22.76 MB / 0.9623 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.8556, allocations: 123.9 kB / 0.9624 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.8558, allocations: 99.98 kB / 0.9625 GB, free: 1.938 MB / 0.7481 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.002847/0.8586, allocations: 1.645 MB / 0.9641 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/0.8592, allocations: 266.4 kB / 0.9644 GB, free: 20 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/0.8652, allocations: 3.236 MB / 0.9675 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.8652, allocations: 19.98 kB / 0.9675 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.8652, allocations: 8 kB / 0.9675 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.8652, allocations: 7.969 kB / 0.9676 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.878, allocations: 7.525 MB / 0.9749 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.878, allocations: 4 kB / 0.9749 GB, free: 5.016 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009744/0.8789, allocations: 219.7 kB / 0.9751 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/0.8814, allocations: 0.8926 MB / 0.976 GB, free: 3.871 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.8815, allocations: 32 kB / 0.976 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02354/0.9051, allocations: 22.74 MB / 0.9982 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.9051, allocations: 8.062 kB / 0.9982 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/0.9113, allocations: 3.369 MB / 1.002 GB, free: 7.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.9125, allocations: 0.55 MB / 1.002 GB, free: 7.359 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.9128, allocations: 35.94 kB / 1.002 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.9139, allocations: 95.88 kB / 1.002 GB, free: 7.23 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/0.9143, allocations: 137 kB / 1.002 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.9145, allocations: 48 kB / 1.002 GB, free: 7.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001811/0.9163, allocations: 1.225 MB / 1.004 GB, free: 5.809 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9163, allocations: 4 kB / 1.004 GB, free: 5.805 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002898/0.9192, allocations: 0.9062 MB / 1.004 GB, free: 4.898 MB / 0.795 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 (109): * Single equations (assignments): 97 * 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,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,6,100.0%), (2,6,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.005963/0.9251, allocations: 3.958 MB / 1.008 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.9322, allocations: 4.299 MB / 1.013 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.9322, allocations: 5 kB / 1.013 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/0.9366, allocations: 2.909 MB / 1.015 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/0.9402, allocations: 0.8297 MB / 1.016 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0421/0.9823, allocations: 25.23 MB / 1.041 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004275/0.9866, allocations: 3.209 MB / 1.044 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001755/0.9883, allocations: 0.5331 MB / 1.044 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/0.9905, allocations: 1.655 MB / 1.046 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of SimCode: time 1.182e-06/0.9905, allocations: 0 / 1.046 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5124/1.503, allocations: 71.03 MB / 1.115 GB, free: 277.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.85, allocations: 7.156 kB / 1.115 GB, free: 277.3 MB / 0.8731 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.91100883006584] Failed to read output from testmodel.py, exit status != 0: 16.973914894042537 16.993134209 16.301494179 Calling exit ...