Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007823/0.0007823, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008888/0.0008888, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9998/0.9998, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8557/0.8557, allocations: 203.8 MB / 0.5042 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 master/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_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.001086/0.001086, allocations: 66.52 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5826/0.5837, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00619/0.5899, allocations: 5.67 MB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003865/0.5938, allocations: 2.767 MB / 0.8261 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.5943, allocations: 32.22 kB / 0.8261 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.5957, allocations: 0.7068 MB / 0.8268 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.5968, allocations: 426.5 kB / 0.8272 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.5979, allocations: 400.1 kB / 0.8276 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.5994, allocations: 0.9531 MB / 0.8285 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/0.5999, allocations: 371 kB / 0.8289 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00053/0.6005, allocations: 392 kB / 0.8293 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.601, allocations: 434.2 kB / 0.8297 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.6011, allocations: 47.84 kB / 0.8297 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.6018, allocations: 369.2 kB / 0.8301 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.6021, allocations: 254.3 kB / 0.8303 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.6024, allocations: 354.2 kB / 0.8307 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.6041, allocations: 0.9742 MB / 0.8316 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6041, allocations: 1.203 kB / 0.8316 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6041, allocations: 0 / 0.8316 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.6041, allocations: 8.438 kB / 0.8316 GB, free: 9.012 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001523/0.6057, allocations: 0.9085 MB / 0.8325 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6057, allocations: 9.984 kB / 0.8325 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.6058, allocations: 100.7 kB / 0.8326 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008889/0.6067, allocations: 203.2 kB / 0.8328 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.6074, allocations: 453.8 kB / 0.8332 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.6075, allocations: 37.55 kB / 0.8333 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.6076, allocations: 60.69 kB / 0.8333 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.6088, allocations: 0.8227 MB / 0.8341 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.6088, allocations: 10.64 kB / 0.8342 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.6088, allocations: 23.39 kB / 0.8342 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.609, allocations: 68.64 kB / 0.8342 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.6098, allocations: 0.5721 MB / 0.8348 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.6138, allocations: 4.497 MB / 0.8392 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.6143, allocations: 280.6 kB / 0.8395 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.615, allocations: 207.5 kB / 0.8397 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.615, allocations: 2.719 kB / 0.8397 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.615, allocations: 38.8 kB / 0.8397 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.615, allocations: 0 / 0.8397 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004325/0.6194, allocations: 2.346 MB / 0.842 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.6194, allocations: 56.16 kB / 0.842 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.6199, allocations: 461.4 kB / 0.8425 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.6199, allocations: 31.08 kB / 0.8425 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6201, allocations: 349.6 kB / 0.8428 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6202, allocations: 156.5 kB / 0.843 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.6203, allocations: 106.3 kB / 0.8431 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6205, allocations: 363 kB / 0.8434 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.6208, allocations: 240.5 kB / 0.8437 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.6212, allocations: 407.2 kB / 0.8441 GB, free: 324 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.6219, allocations: 0.673 MB / 0.8447 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6219, allocations: 0.9062 kB / 0.8447 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001223/0.6231, allocations: 0.9169 MB / 0.8456 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6231, allocations: 7.375 kB / 0.8456 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.6232, allocations: 6.062 kB / 0.8456 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.6236, allocations: 229.4 kB / 0.8458 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.624, allocations: 117.7 kB / 0.846 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.6281, allocations: 5.026 MB / 0.8509 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.6285, allocations: 29.75 kB / 0.8509 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.6286, allocations: 23.12 kB / 0.8509 GB, free: 10.55 MB / 0.6355 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.0003856/0.629, allocations: 232.3 kB / 0.8511 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.629, allocations: 63.08 kB / 0.8512 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.6301, allocations: 0.7748 MB / 0.852 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6301, allocations: 4.125 kB / 0.852 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6301, allocations: 2.75 kB / 0.852 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6301, allocations: 0 / 0.852 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.6319, allocations: 1.454 MB / 0.8534 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6319, allocations: 6.406 kB / 0.8534 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.6322, allocations: 73.38 kB / 0.8535 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.6326, allocations: 206.1 kB / 0.8537 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.6326, allocations: 8.062 kB / 0.8537 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.6364, allocations: 4.962 MB / 0.8585 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.6364, allocations: 10.28 kB / 0.8585 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.6378, allocations: 1.125 MB / 0.8596 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.638, allocations: 109.5 kB / 0.8597 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.638, allocations: 9.5 kB / 0.8597 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.6382, allocations: 23.31 kB / 0.8597 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.6383, allocations: 43.75 kB / 0.8598 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.6383, allocations: 9.406 kB / 0.8598 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003131/0.6387, allocations: 315.3 kB / 0.8601 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6387, allocations: 0 / 0.8601 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006453/0.6393, allocations: 174.8 kB / 0.8603 GB, free: 3.07 MB / 0.6355 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.001514/0.6408, allocations: 1.686 MB / 0.8619 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.6421, allocations: 0.9535 MB / 0.8628 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6422, allocations: 128 / 0.8628 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.6428, allocations: 0.6698 MB / 0.8635 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.6435, allocations: 190.8 kB / 0.8637 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/0.6504, allocations: 5.619 MB / 0.8692 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.6509, allocations: 0.9476 MB / 0.8701 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.6513, allocations: 114.5 kB / 0.8702 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.6515, allocations: 208.4 kB / 0.8704 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/0.6515, allocations: 1.062 kB / 0.8704 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.6904, allocations: 14.66 MB / 0.8847 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.264, allocations: 6.828 kB / 0.8847 GB, free: 15.77 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.435450659133494] Failed to read output from testmodel.py, exit status != 0: 8.357245056889951 8.367403513 7.761258858 Calling exit ...