Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0007923/0.0007923, 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.000823/0.000823, allocations: 207.6 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.97/0.97, 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.7575/0.7575, allocations: 203.5 MB / 0.5038 GB, free: 10.71 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0009241/0.0009241, allocations: 65.95 kB / 0.7178 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4738, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006193/0.48, allocations: 6.49 MB / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004291/0.4843, allocations: 3.038 MB / 0.8267 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.4848, allocations: 42.53 kB / 0.8267 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4863, allocations: 0.9409 MB / 0.8276 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.4873, allocations: 0.5256 MB / 0.8282 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009189/0.4882, allocations: 427.2 kB / 0.8286 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.4893, allocations: 1.22 MB / 0.8298 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.49, allocations: 0.5272 MB / 0.8303 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.4906, allocations: 495.9 kB / 0.8307 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006931/0.4913, allocations: 0.5223 MB / 0.8313 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.4914, allocations: 70.62 kB / 0.8313 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.492, allocations: 339.2 kB / 0.8316 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.4922, allocations: 311.2 kB / 0.8319 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.4925, allocations: 375.2 kB / 0.8323 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4938, allocations: 1.232 MB / 0.8335 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4938, allocations: 1.031 kB / 0.8335 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4938, allocations: 0 / 0.8335 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.4938, allocations: 4 kB / 0.8335 GB, free: 8.02 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001497/0.4953, allocations: 1.107 MB / 0.8346 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4953, allocations: 13.34 kB / 0.8346 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.4954, allocations: 123.1 kB / 0.8347 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.4964, allocations: 239.9 kB / 0.8349 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/0.4973, allocations: 0.5214 MB / 0.8355 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.4974, allocations: 55.98 kB / 0.8355 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.4974, allocations: 62.39 kB / 0.8356 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.4986, allocations: 1.341 MB / 0.8369 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4986, allocations: 6.469 kB / 0.8369 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.4987, allocations: 31.02 kB / 0.8369 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.4988, allocations: 87.23 kB / 0.837 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.4997, allocations: 0.7488 MB / 0.8377 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.503, allocations: 4.632 MB / 0.8423 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.5037, allocations: 0.5084 MB / 0.8427 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.504, allocations: 283 kB / 0.843 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.504, allocations: 5.469 kB / 0.843 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.504, allocations: 47.03 kB / 0.8431 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/0.504, allocations: 0 / 0.8431 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002447/0.5065, allocations: 1.682 MB / 0.8447 GB, free: 280 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5065, allocations: 57.03 kB / 0.8448 GB, free: 216 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.507, allocations: 0.5693 MB / 0.8453 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.5071, allocations: 32.39 kB / 0.8454 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5074, allocations: 432.2 kB / 0.8458 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.5075, allocations: 181.1 kB / 0.8459 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.5077, allocations: 119.6 kB / 0.846 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5078, allocations: 378 kB / 0.8464 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.5081, allocations: 282 kB / 0.8467 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.5084, allocations: 488.7 kB / 0.8471 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.5091, allocations: 0.8071 MB / 0.8479 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5091, allocations: 2.625 kB / 0.8479 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001222/0.5103, allocations: 1.081 MB / 0.849 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5104, allocations: 12.23 kB / 0.849 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.5104, allocations: 6.875 kB / 0.849 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.5109, allocations: 288.1 kB / 0.8493 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.5112, allocations: 126.3 kB / 0.8494 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0044/0.5156, allocations: 6.679 MB / 0.8559 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.5161, allocations: 38.75 kB / 0.856 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.5161, allocations: 31.23 kB / 0.856 GB, free: 6.82 MB / 0.6355 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003198/0.5164, allocations: 259.7 kB / 0.8562 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.5165, allocations: 71.86 kB / 0.8563 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009972/0.5175, allocations: 0.8801 MB / 0.8572 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5175, allocations: 5.719 kB / 0.8572 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5175, allocations: 2.938 kB / 0.8572 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5175, allocations: 0 / 0.8572 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.5193, allocations: 1.61 MB / 0.8587 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5193, allocations: 5.438 kB / 0.8588 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5195, allocations: 64.11 kB / 0.8588 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.52, allocations: 275.1 kB / 0.8591 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.52, allocations: 10.28 kB / 0.8591 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.5242, allocations: 6.665 MB / 0.8656 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5243, allocations: 5.781 kB / 0.8656 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.5255, allocations: 0.9746 MB / 0.8666 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.5258, allocations: 115.4 kB / 0.8667 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.5258, allocations: 16.53 kB / 0.8667 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.526, allocations: 28.41 kB / 0.8667 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5261, allocations: 48.8 kB / 0.8668 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.5262, allocations: 14.97 kB / 0.8668 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003642/0.5265, allocations: 388.3 kB / 0.8671 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.5265, allocations: 1.938 kB / 0.8671 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007227/0.5273, allocations: 219.2 kB / 0.8673 GB, free: 13.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.5285, allocations: 1.532 MB / 0.8688 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.53, allocations: 1.235 MB / 0.8701 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.53, allocations: 1.125 kB / 0.8701 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.5308, allocations: 0.8667 MB / 0.8709 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.5316, allocations: 230.4 kB / 0.8711 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.5395, allocations: 6.369 MB / 0.8773 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.5399, allocations: 411.5 kB / 0.8777 GB, free: 6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004759/0.5404, allocations: 122 kB / 0.8778 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5407, allocations: 247.4 kB / 0.8781 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/0.5407, allocations: 0 / 0.8781 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.5787, allocations: 19.24 MB / 0.8969 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.794, allocations: 8.438 kB / 0.8969 GB, free: 2.797 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_R.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.808255539275706] Failed to read output from testmodel.py, exit status != 0: 7.8854217999614775 7.895580328 7.39990894 Calling exit ...