Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.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.00114/0.00114, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001208/0.001208, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9295/0.9295, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.7565/0.7565, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.332e-05, allocations: 8.891 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004911/0.004935, allocations: 5.2 MB / 0.6232 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.008067, allocations: 2.575 MB / 0.6257 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.00836, allocations: 39.69 kB / 0.6257 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.009392, allocations: 0.6805 MB / 0.6264 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007424/0.01013, allocations: 433.3 kB / 0.6268 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.01104, allocations: 405.7 kB / 0.6272 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.01218, allocations: 0.9823 MB / 0.6282 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/0.01287, allocations: 378.5 kB / 0.6285 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006374/0.01351, allocations: 0.5065 MB / 0.629 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.01389, allocations: 370.9 kB / 0.6294 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.01395, allocations: 48 kB / 0.6294 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.01443, allocations: 339 kB / 0.6297 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.01461, allocations: 259.2 kB / 0.63 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.01479, allocations: 239.4 kB / 0.6302 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.01567, allocations: 1.005 MB / 0.6312 GB, free: 192 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01567, allocations: 0 / 0.6312 GB, free: 192 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.834e-06/0.01567, allocations: 0 / 0.6312 GB, free: 192 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.01568, allocations: 0 / 0.6312 GB, free: 192 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.001297/0.01698, allocations: 0.9054 MB / 0.6321 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.01703, allocations: 12.03 kB / 0.6321 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/0.01712, allocations: 98.69 kB / 0.6322 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.0179, allocations: 204.2 kB / 0.6324 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.01848, allocations: 447 kB / 0.6328 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.01851, allocations: 41.36 kB / 0.6328 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.01862, allocations: 56.53 kB / 0.6329 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008581/0.01948, allocations: 0.9789 MB / 0.6339 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.01951, allocations: 4.188 kB / 0.6339 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.01955, allocations: 27.92 kB / 0.6339 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.01969, allocations: 72.83 kB / 0.634 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.02033, allocations: 0.5697 MB / 0.6345 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.02321, allocations: 3.569 MB / 0.638 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.02358, allocations: 275.2 kB / 0.6383 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.02379, allocations: 213.3 kB / 0.6385 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.02382, allocations: 8.219 kB / 0.6385 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.02385, allocations: 30.84 kB / 0.6385 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.367e-06/0.02386, allocations: 4 kB / 0.6385 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003493/0.02735, allocations: 2.322 MB / 0.6408 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.02739, allocations: 59.34 kB / 0.6408 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.02777, allocations: 469.9 kB / 0.6413 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.0278, allocations: 37.64 kB / 0.6413 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.02799, allocations: 348.5 kB / 0.6416 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.02807, allocations: 146.8 kB / 0.6418 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.02819, allocations: 102.3 kB / 0.6419 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.0283, allocations: 362.7 kB / 0.6422 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.02871, allocations: 241.2 kB / 0.6425 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.02903, allocations: 407.4 kB / 0.6428 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.0296, allocations: 0.6778 MB / 0.6435 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.0296, allocations: 0 / 0.6435 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00102/0.03062, allocations: 0.9171 MB / 0.6444 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.03064, allocations: 8 kB / 0.6444 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.03065, allocations: 4 kB / 0.6444 GB, free: 2.047 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.03111, allocations: 231 kB / 0.6446 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.03139, allocations: 115.8 kB / 0.6447 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.03486, allocations: 4.998 MB / 0.6496 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.03518, allocations: 35.91 kB / 0.6497 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.03521, allocations: 28.11 kB / 0.6497 GB, free: 12.29 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.0002872/0.0355, allocations: 225.6 kB / 0.6499 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.03556, allocations: 59.62 kB / 0.65 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/0.03654, allocations: 0.7696 MB / 0.6507 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.03655, allocations: 7.938 kB / 0.6507 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.03655, allocations: 0 / 0.6507 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.03656, allocations: 7.984 kB / 0.6507 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.03816, allocations: 1.396 MB / 0.6521 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.03817, allocations: 4 kB / 0.6521 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.03837, allocations: 63.95 kB / 0.6522 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.03879, allocations: 206.5 kB / 0.6524 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.03882, allocations: 11.98 kB / 0.6524 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.04196, allocations: 4.932 MB / 0.6572 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.04197, allocations: 4.359 kB / 0.6572 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.04308, allocations: 1.128 MB / 0.6583 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.04324, allocations: 95.66 kB / 0.6584 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.04327, allocations: 12 kB / 0.6584 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.04345, allocations: 31.91 kB / 0.6584 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.04353, allocations: 39.86 kB / 0.6585 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.04355, allocations: 16 kB / 0.6585 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002362/0.04378, allocations: 306.9 kB / 0.6588 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04378, allocations: 4.062 kB / 0.6588 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005205/0.0443, allocations: 168 kB / 0.6589 GB, free: 2.32 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.001342/0.04564, allocations: 1.678 MB / 0.6606 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.04675, allocations: 0.9574 MB / 0.6615 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.04675, allocations: 4 kB / 0.6615 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.04729, allocations: 0.668 MB / 0.6622 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.04786, allocations: 184.5 kB / 0.6623 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.05375, allocations: 5.572 MB / 0.6678 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.05403, allocations: 350.2 kB / 0.6681 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002774/0.05431, allocations: 105 kB / 0.6682 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.0545, allocations: 208.4 kB / 0.6684 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of SimCode: time 1.213e-06/0.0545, allocations: 0 / 0.6684 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2809/0.3354, allocations: 15.7 MB / 0.6837 GB, free: 95.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.717, allocations: 0 / 0.6837 GB, free: 95.32 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.609211904928088] Failed to read output from testmodel.py, exit status != 0: 7.806460707448423 7.819044052 7.8011829740000005 Calling exit ...