Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 105.5 kB / 18.95 MB, free: 1.191 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 212 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9725/0.9725, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7724/0.7724, allocations: 203.5 MB / 0.5039 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009214/0.0009214, allocations: 66.2 kB / 0.7178 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4946, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01158/0.5062, allocations: 13.92 MB / 0.831 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.517, allocations: 9.976 MB / 0.8407 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.5177, allocations: 78.59 kB / 0.8408 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.5198, allocations: 1.686 MB / 0.8424 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.5233, allocations: 1.85 MB / 0.8442 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.5247, allocations: 0.7689 MB / 0.845 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.5271, allocations: 2.769 MB / 0.8477 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.5283, allocations: 1.187 MB / 0.8489 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.5298, allocations: 1.631 MB / 0.8505 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.5308, allocations: 1.084 MB / 0.8515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.531, allocations: 159.6 kB / 0.8517 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.532, allocations: 0.7285 MB / 0.8524 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.5324, allocations: 0.6174 MB / 0.853 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.533, allocations: 0.7746 MB / 0.8537 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.5351, allocations: 2.785 MB / 0.8565 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5351, allocations: 0 / 0.8565 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5351, allocations: 5.062 kB / 0.8565 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.5351, allocations: 0 / 0.8565 GB, free: 8.102 MB / 0.6355 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.002278/0.5374, allocations: 2.155 MB / 0.8586 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5374, allocations: 8.938 kB / 0.8586 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.5376, allocations: 198.7 kB / 0.8588 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006061/0.5437, allocations: 2.121 MB / 0.8608 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.5452, allocations: 1.231 MB / 0.862 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.5452, allocations: 89.2 kB / 0.8621 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.5454, allocations: 119.5 kB / 0.8622 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.549, allocations: 3.074 MB / 0.8652 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.549, allocations: 15.72 kB / 0.8652 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.5491, allocations: 53.52 kB / 0.8653 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003439/0.5495, allocations: 190.5 kB / 0.8655 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.5538, allocations: 2.79 MB / 0.8682 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/0.5624, allocations: 8.337 MB / 0.8763 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.5658, allocations: 2.175 MB / 0.8785 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.5674, allocations: 1.202 MB / 0.8796 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.5675, allocations: 13 kB / 0.8797 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5675, allocations: 51.56 kB / 0.8797 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.054e-06/0.5675, allocations: 0 / 0.8797 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03026/0.5978, allocations: 15.99 MB / 0.8953 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.5978, allocations: 68.72 kB / 0.8954 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.5989, allocations: 1.188 MB / 0.8965 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.599, allocations: 57.7 kB / 0.8966 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.5994, allocations: 0.7606 MB / 0.8973 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.5997, allocations: 0.5383 MB / 0.8979 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.6001, allocations: 287.5 kB / 0.8981 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.6002, allocations: 313.1 kB / 0.8984 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.6022, allocations: 1.507 MB / 0.8999 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.6043, allocations: 1.776 MB / 0.9017 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004254/0.6085, allocations: 3.373 MB / 0.9049 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6086, allocations: 0 / 0.9049 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007507/0.6161, allocations: 5.211 MB / 0.91 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.6161, allocations: 10.97 kB / 0.91 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6161, allocations: 4 kB / 0.91 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/0.6196, allocations: 1.878 MB / 0.9119 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.6206, allocations: 423.2 kB / 0.9123 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.6389, allocations: 23.04 MB / 0.9348 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6403, allocations: 311.6 kB / 0.9351 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.6404, allocations: 67.91 kB / 0.9352 GB, free: 11.62 MB / 0.7136 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006554/0.6411, allocations: 468.2 kB / 0.9356 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6413, allocations: 182.9 kB / 0.9358 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/0.6488, allocations: 5.249 MB / 0.9409 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.6488, allocations: 15.98 kB / 0.9409 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.6488, allocations: 23.94 kB / 0.9409 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6488, allocations: 4.078 kB / 0.9409 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009244/0.6581, allocations: 6.973 MB / 0.9478 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6581, allocations: 352 / 0.9478 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/0.6589, allocations: 355.4 kB / 0.9481 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/0.662, allocations: 1.709 MB / 0.9498 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.868e-05/0.6621, allocations: 47.91 kB / 0.9498 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.679, allocations: 22.24 MB / 0.9715 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.679, allocations: 4.031 kB / 0.9715 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007005/0.686, allocations: 4.829 MB / 0.9762 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/0.6867, allocations: 426.6 kB / 0.9766 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6869, allocations: 24 kB / 0.9767 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.688, allocations: 319.5 kB / 0.977 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.6883, allocations: 160.9 kB / 0.9771 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.6884, allocations: 51.97 kB / 0.9772 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007297/0.6891, allocations: 0.7899 MB / 0.978 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.6891, allocations: 0 / 0.978 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001447/0.6906, allocations: 0.664 MB / 0.9786 GB, free: 13.94 MB / 0.7605 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007011/0.6976, allocations: 5.401 MB / 0.9839 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006797/0.7044, allocations: 4.921 MB / 0.9887 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.7044, allocations: 4 kB / 0.9887 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.7082, allocations: 3.28 MB / 0.9919 GB, free: 28 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.71, allocations: 0.5457 MB / 0.9924 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/0.7373, allocations: 21.79 MB / 1.014 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/0.7382, allocations: 0.9843 MB / 1.015 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009304/0.7391, allocations: 386.4 kB / 1.015 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.7397, allocations: 0.6554 MB / 1.016 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of SimCode: time 1.994e-06/0.7397, allocations: 0 / 1.016 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/0.8196, allocations: 63.8 MB / 1.078 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.959, allocations: 18.39 kB / 1.078 GB, free: 8.117 MB / 0.8542 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.012706883717328] Failed to read output from testmodel.py, exit status != 0: 9.064231158234179 9.072866683 8.535993106 Calling exit ...