Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0008266/0.0008266, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001545/0.001545, allocations: 208.1 kB / 22.25 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.9845/0.9845, allocations: 230.6 MB / 256 MB, free: 9.59 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.7785/0.7785, allocations: 203.5 MB / 0.5039 GB, free: 10.67 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.ACLine,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009244/0.0009244, allocations: 75.8 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4892, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01288/0.5021, allocations: 13.29 MB / 0.8304 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.5146, allocations: 9.153 MB / 0.8393 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.5162, allocations: 81.47 kB / 0.8394 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.5193, allocations: 1.663 MB / 0.841 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.5239, allocations: 1.579 MB / 0.8425 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.5258, allocations: 0.7646 MB / 0.8433 GB, free: 412 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003074/0.5289, allocations: 2.541 MB / 0.8458 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.5303, allocations: 1.172 MB / 0.8469 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.5322, allocations: 1.129 MB / 0.848 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.5337, allocations: 1.096 MB / 0.8491 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.534, allocations: 164.2 kB / 0.8492 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.5352, allocations: 0.7282 MB / 0.85 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.5357, allocations: 0.6247 MB / 0.8506 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.5365, allocations: 0.7749 MB / 0.8513 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.5393, allocations: 2.782 MB / 0.854 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5393, allocations: 3.938 kB / 0.854 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5393, allocations: 5.094 kB / 0.854 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.415e-05/0.5394, allocations: 0 / 0.854 GB, free: 9.676 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.003477/0.5428, allocations: 2.114 MB / 0.8561 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5429, allocations: 10.28 kB / 0.8561 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.5431, allocations: 194.7 kB / 0.8563 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006418/0.5495, allocations: 2.093 MB / 0.8583 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.5519, allocations: 1.212 MB / 0.8595 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.552, allocations: 85.86 kB / 0.8596 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.5522, allocations: 124.7 kB / 0.8597 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.5561, allocations: 3.087 MB / 0.8627 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.5561, allocations: 12.52 kB / 0.8628 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.5562, allocations: 54.61 kB / 0.8628 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000356/0.5566, allocations: 182.6 kB / 0.863 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.5609, allocations: 2.793 MB / 0.8657 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008493/0.5694, allocations: 8.343 MB / 0.8739 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.5729, allocations: 2.217 MB / 0.876 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.5746, allocations: 1.206 MB / 0.8772 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.5747, allocations: 17 kB / 0.8772 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.5747, allocations: 43.56 kB / 0.8773 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.5747, allocations: 0 / 0.8773 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02381/0.5985, allocations: 12.67 MB / 0.8896 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5986, allocations: 68.72 kB / 0.8897 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.5996, allocations: 1.125 MB / 0.8908 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.5997, allocations: 49.7 kB / 0.8908 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.6001, allocations: 0.7287 MB / 0.8916 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.6005, allocations: 475.8 kB / 0.892 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.6008, allocations: 259.5 kB / 0.8923 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.6009, allocations: 361.9 kB / 0.8926 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.603, allocations: 1.339 MB / 0.8939 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.6049, allocations: 1.604 MB / 0.8955 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.6089, allocations: 2.994 MB / 0.8984 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.6089, allocations: 4 kB / 0.8984 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006428/0.6153, allocations: 4.4 MB / 0.9027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6153, allocations: 8 kB / 0.9027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.6153, allocations: 8.875 kB / 0.9027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.6182, allocations: 1.435 MB / 0.9041 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.6194, allocations: 435.2 kB / 0.9045 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.6367, allocations: 25.1 MB / 0.929 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.6385, allocations: 303.5 kB / 0.9293 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.6386, allocations: 68.03 kB / 0.9294 GB, free: 0.8164 MB / 0.698 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.0009647/0.6396, allocations: 438.5 kB / 0.9298 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.6398, allocations: 167 kB / 0.93 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006616/0.6464, allocations: 4.402 MB / 0.9343 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6464, allocations: 16 kB / 0.9343 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/0.6465, allocations: 19.98 kB / 0.9343 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6465, allocations: 3.984 kB / 0.9343 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/0.6556, allocations: 6.292 MB / 0.9405 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6557, allocations: 4 kB / 0.9405 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.6567, allocations: 383.6 kB / 0.9408 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.6593, allocations: 1.306 MB / 0.9421 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6594, allocations: 35.97 kB / 0.9421 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.6743, allocations: 23.97 MB / 0.9656 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6743, allocations: 8.125 kB / 0.9656 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/0.6805, allocations: 4.16 MB / 0.9696 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/0.6813, allocations: 394.7 kB / 0.97 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.6814, allocations: 24 kB / 0.97 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.6825, allocations: 315.5 kB / 0.9703 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.6829, allocations: 132.6 kB / 0.9704 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.6829, allocations: 51.95 kB / 0.9705 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007357/0.6837, allocations: 0.7526 MB / 0.9712 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6837, allocations: 0 / 0.9712 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001519/0.6852, allocations: 0.5664 MB / 0.9718 GB, free: 3.586 MB / 0.7448 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.006026/0.6912, allocations: 4.756 MB / 0.9764 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006214/0.6974, allocations: 4.978 MB / 0.9813 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.6974, allocations: 3.938 kB / 0.9813 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.7012, allocations: 3.402 MB / 0.9846 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.7029, allocations: 0.5469 MB / 0.9852 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/0.7291, allocations: 19.35 MB / 1.004 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.7299, allocations: 0.8873 MB / 1.005 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001348/0.7313, allocations: 429.6 kB / 1.005 GB, free: 344 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.732, allocations: 0.6243 MB / 1.006 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of SimCode: time 1.814e-06/0.732, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08011/0.8122, allocations: 56.38 MB / 1.061 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.879, allocations: 2.188 kB / 1.061 GB, free: 8.086 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.918453825637698] Failed to read output from testmodel.py, exit status != 0: 8.980566211044788 8.989690234 8.448495042 Calling exit ...