Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0007622/0.0007622, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008174/0.0008174, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8758/0.8758, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.715/0.715, allocations: 154.6 MB / 413.7 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.241e-05, allocations: 4.031 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004986/0.005008, allocations: 5.284 MB / 0.6233 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.008543, allocations: 2.595 MB / 0.6258 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.008926, allocations: 31.69 kB / 0.6258 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.01001, allocations: 0.6844 MB / 0.6265 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007845/0.01079, allocations: 441.3 kB / 0.6269 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.01157, allocations: 417.6 kB / 0.6273 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009692/0.01253, allocations: 0.9902 MB / 0.6283 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005761/0.01311, allocations: 374.5 kB / 0.6286 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.01376, allocations: 0.5182 MB / 0.6291 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.01418, allocations: 370.9 kB / 0.6295 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.01424, allocations: 48 kB / 0.6295 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.01474, allocations: 331 kB / 0.6299 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.01493, allocations: 267.2 kB / 0.6301 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.0151, allocations: 239.4 kB / 0.6303 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.01625, allocations: 1.001 MB / 0.6313 GB, free: 60 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01626, allocations: 4 kB / 0.6313 GB, free: 56 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.385e-06/0.01626, allocations: 0 / 0.6313 GB, free: 56 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.01628, allocations: 0 / 0.6313 GB, free: 56 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001322/0.0176, allocations: 0.9093 MB / 0.6322 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.01764, allocations: 8.031 kB / 0.6322 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.162e-05/0.01773, allocations: 102.7 kB / 0.6323 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007867/0.01852, allocations: 204.2 kB / 0.6325 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.0191, allocations: 480 kB / 0.633 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01912, allocations: 33.38 kB / 0.633 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.01924, allocations: 56.55 kB / 0.6331 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.02005, allocations: 0.9789 MB / 0.634 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.02008, allocations: 8.125 kB / 0.634 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.02011, allocations: 27.94 kB / 0.634 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.02024, allocations: 68.88 kB / 0.6341 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.02083, allocations: 0.5696 MB / 0.6347 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.0237, allocations: 3.561 MB / 0.6381 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.02402, allocations: 283.2 kB / 0.6384 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.02422, allocations: 205.3 kB / 0.6386 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.02424, allocations: 4.281 kB / 0.6386 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.02427, allocations: 38.84 kB / 0.6387 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/0.02427, allocations: 0 / 0.6387 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003193/0.02746, allocations: 2.333 MB / 0.6409 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.02749, allocations: 59.41 kB / 0.641 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.02782, allocations: 470 kB / 0.6414 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.02785, allocations: 37.7 kB / 0.6415 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.028, allocations: 344.5 kB / 0.6418 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.02809, allocations: 154.7 kB / 0.6419 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.0282, allocations: 102.3 kB / 0.642 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.0283, allocations: 370.7 kB / 0.6424 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.02855, allocations: 237.2 kB / 0.6426 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.02886, allocations: 415.3 kB / 0.643 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.02946, allocations: 0.6779 MB / 0.6437 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02946, allocations: 4 kB / 0.6437 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001231/0.03069, allocations: 0.9172 MB / 0.6446 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.03071, allocations: 8 kB / 0.6446 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.03072, allocations: 4 kB / 0.6446 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.03118, allocations: 230.8 kB / 0.6448 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.03146, allocations: 115.8 kB / 0.6449 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.03595, allocations: 4.994 MB / 0.6498 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.03635, allocations: 31.97 kB / 0.6498 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.03639, allocations: 20 kB / 0.6499 GB, free: 12.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0002955/0.03668, allocations: 229.7 kB / 0.6501 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.03677, allocations: 55.67 kB / 0.6501 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.03807, allocations: 0.7735 MB / 0.6509 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.03807, allocations: 7.938 kB / 0.6509 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.03808, allocations: 4 kB / 0.6509 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.03808, allocations: 3.984 kB / 0.6509 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.04056, allocations: 1.396 MB / 0.6523 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.04057, allocations: 4 kB / 0.6523 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.04088, allocations: 67.89 kB / 0.6523 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/0.04145, allocations: 206.6 kB / 0.6525 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.04149, allocations: 8 kB / 0.6525 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/0.04573, allocations: 4.933 MB / 0.6573 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.04573, allocations: 7.922 kB / 0.6574 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.04725, allocations: 1.131 MB / 0.6585 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.04757, allocations: 87.77 kB / 0.6585 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.04766, allocations: 15.97 kB / 0.6586 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.04803, allocations: 31.91 kB / 0.6586 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.04812, allocations: 39.88 kB / 0.6586 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.04815, allocations: 12 kB / 0.6586 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002863/0.04843, allocations: 314.9 kB / 0.6589 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.04843, allocations: 0 / 0.6589 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005201/0.04895, allocations: 164 kB / 0.6591 GB, free: 2.148 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/0.05042, allocations: 1.689 MB / 0.6607 GB, free: 412 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.05158, allocations: 0.9574 MB / 0.6617 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.05158, allocations: 0 / 0.6617 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.05215, allocations: 0.6719 MB / 0.6623 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.05275, allocations: 182.4 kB / 0.6625 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.05858, allocations: 5.599 MB / 0.668 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.05889, allocations: 350.3 kB / 0.6683 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.05918, allocations: 113 kB / 0.6684 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.05937, allocations: 208.4 kB / 0.6686 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.05937, allocations: 0 / 0.6686 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2837/0.3431, allocations: 15.79 MB / 0.684 GB, free: 95.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.72, allocations: 13.7 kB / 0.6841 GB, free: 95.38 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_RL.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.417949121445417] Failed to read output from testmodel.py, exit status != 0: 7.818441918119788 7.828581613 7.810703412 Calling exit ...