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.001529/0.001529, allocations: 109.9 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.001608/0.001608, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.454/1.454, allocations: 222.9 MB / 245 MB, free: 15 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.065/1.065, allocations: 173.4 MB / 470.6 MB, free: 13.61 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,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.001908/0.001908, allocations: 72.02 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1781, allocations: 89.51 MB / 0.7352 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01707/0.1952, allocations: 14.03 MB / 0.7489 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4065/0.6018, allocations: 9.388 MB / 0.7581 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.6033, allocations: 58.34 kB / 0.7581 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.6075, allocations: 1.673 MB / 0.7597 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.6138, allocations: 1.539 MB / 0.7613 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.6165, allocations: 0.7555 MB / 0.762 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004602/0.6211, allocations: 2.522 MB / 0.7645 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.6233, allocations: 1.412 MB / 0.7658 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.6253, allocations: 1.047 MB / 0.7669 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.6275, allocations: 1.136 MB / 0.768 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.6279, allocations: 164.2 kB / 0.7681 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.6298, allocations: 0.7944 MB / 0.7689 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.6304, allocations: 0.6145 MB / 0.7695 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.6317, allocations: 0.9458 MB / 0.7704 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.636, allocations: 2.769 MB / 0.7731 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.636, allocations: 0 / 0.7731 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.636, allocations: 1.094 kB / 0.7731 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.357e-05/0.6361, allocations: 0 / 0.7731 GB, free: 4.465 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00527/0.6414, allocations: 2.197 MB / 0.7753 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.6415, allocations: 9.438 kB / 0.7753 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003007/0.6418, allocations: 192.8 kB / 0.7755 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.6547, allocations: 2.099 MB / 0.7775 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.6583, allocations: 1.299 MB / 0.7788 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/0.6584, allocations: 95.83 kB / 0.7789 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/0.6589, allocations: 116.1 kB / 0.779 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/0.6658, allocations: 2.68 MB / 0.7816 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/0.6659, allocations: 12.36 kB / 0.7816 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.6661, allocations: 52.31 kB / 0.7817 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006927/0.6668, allocations: 183.7 kB / 0.7818 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008062/0.6749, allocations: 2.795 MB / 0.7846 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.6921, allocations: 10.49 MB / 0.7948 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.6996, allocations: 2.528 MB / 0.7973 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.7033, allocations: 1.291 MB / 0.7985 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.615e-05/0.7034, allocations: 10.53 kB / 0.7985 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.7035, allocations: 39.31 kB / 0.7986 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 6.462e-06/0.7035, allocations: 5.547 kB / 0.7986 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04894/0.7524, allocations: 13.39 MB / 0.8117 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.7525, allocations: 64.66 kB / 0.8117 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.7541, allocations: 1.118 MB / 0.8128 GB, free: 228 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002556/0.7544, allocations: 47.08 kB / 0.8129 GB, free: 180 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.7555, allocations: 0.774 MB / 0.8136 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000581/0.7561, allocations: 477.5 kB / 0.8141 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.7566, allocations: 262.4 kB / 0.8143 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7568, allocations: 364.3 kB / 0.8147 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/0.7604, allocations: 1.342 MB / 0.816 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/0.7645, allocations: 1.6 MB / 0.8175 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/0.7726, allocations: 2.991 MB / 0.8205 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.7726, allocations: 4 kB / 0.8205 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01285/0.7855, allocations: 4.451 MB / 0.8248 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.7855, allocations: 12.81 kB / 0.8248 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7855, allocations: 4 kB / 0.8248 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005303/0.7909, allocations: 1.43 MB / 0.8262 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.7931, allocations: 439.2 kB / 0.8266 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/0.8233, allocations: 26.7 MB / 0.8527 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/0.8263, allocations: 299.6 kB / 0.853 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.8266, allocations: 67.97 kB / 0.8531 GB, free: 5.977 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.0009929/0.8276, allocations: 441.4 kB / 0.8535 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.828, allocations: 170.9 kB / 0.8537 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.8407, allocations: 4.453 MB / 0.858 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.8407, allocations: 12 kB / 0.858 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.762e-05/0.8408, allocations: 15.94 kB / 0.858 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/0.8408, allocations: 7.984 kB / 0.858 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/0.8571, allocations: 6.778 MB / 0.8647 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8571, allocations: 4 kB / 0.8647 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/0.8591, allocations: 383.6 kB / 0.865 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.864, allocations: 1.306 MB / 0.8663 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.8642, allocations: 35.97 kB / 0.8663 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/0.8932, allocations: 25.5 MB / 0.8912 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.8932, allocations: 8.156 kB / 0.8912 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/0.9061, allocations: 4.207 MB / 0.8954 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.9074, allocations: 467.8 kB / 0.8958 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/0.9079, allocations: 28 kB / 0.8958 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/0.9104, allocations: 303.5 kB / 0.8961 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/0.9109, allocations: 132.7 kB / 0.8962 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.911, allocations: 55.91 kB / 0.8963 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001124/0.9122, allocations: 0.7487 MB / 0.897 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.924e-06/0.9122, allocations: 0 / 0.897 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002282/0.9145, allocations: 0.5703 MB / 0.8976 GB, free: 6.227 MB / 0.6856 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.01184/0.9263, allocations: 4.799 MB / 0.9023 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01232/0.9387, allocations: 5.152 MB / 0.9073 GB, free: 12 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.9387, allocations: 4 kB / 0.9073 GB, free: 12 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008108/0.9468, allocations: 3.486 MB / 0.9107 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.9496, allocations: 0.5409 MB / 0.9112 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0442/0.9939, allocations: 19.42 MB / 0.9302 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.9954, allocations: 1.473 MB / 0.9316 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001699/0.9971, allocations: 429.6 kB / 0.9321 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009882/0.9981, allocations: 0.6242 MB / 0.9327 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.9981, allocations: 4 kB / 0.9327 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/1.161, allocations: 51.64 MB / 0.9831 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/19.52, allocations: 7.359 kB / 0.9831 GB, free: 14.37 MB / 0.7794 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 sys.exit(0), Time elapsed: 23.46067362697795] Failed to read output from testmodel.py, exit status != 0: 19.628875602968037 19.653122506 19.012180977 Calling exit ...