Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001196/0.001196, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009818/0.0009818, allocations: 223.6 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.985/0.985, allocations: 230.6 MB / 256 MB, free: 9.805 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.7964/0.7964, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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_R,fileNamePrefix="IDEAS_dev_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_dev_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.0009768/0.0009768, allocations: 66.44 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5423, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006978/0.5493, allocations: 7.008 MB / 0.8247 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.5531, allocations: 3.188 MB / 0.8278 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.5534, allocations: 35.56 kB / 0.8279 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.5549, allocations: 1.005 MB / 0.8288 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008531/0.5558, allocations: 0.5158 MB / 0.8293 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.5566, allocations: 433.4 kB / 0.8298 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.5577, allocations: 1.225 MB / 0.831 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007667/0.5585, allocations: 0.531 MB / 0.8315 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.5592, allocations: 491 kB / 0.8319 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.5601, allocations: 0.5466 MB / 0.8325 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.5602, allocations: 66.97 kB / 0.8325 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006366/0.5609, allocations: 392.9 kB / 0.8329 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.5612, allocations: 313.7 kB / 0.8332 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.5617, allocations: 447.6 kB / 0.8336 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.5632, allocations: 1.218 MB / 0.8348 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5632, allocations: 1.859 kB / 0.8348 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5632, allocations: 3.938 kB / 0.8348 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.5632, allocations: 0 / 0.8348 GB, free: 7.129 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.001688/0.5649, allocations: 1.114 MB / 0.8359 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.565, allocations: 9.156 kB / 0.8359 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.5651, allocations: 123 kB / 0.836 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009872/0.5661, allocations: 243.4 kB / 0.8363 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.5669, allocations: 0.5216 MB / 0.8368 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.567, allocations: 51.48 kB / 0.8368 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/0.5671, allocations: 61.52 kB / 0.8369 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5685, allocations: 1.085 MB / 0.838 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.5685, allocations: 7.344 kB / 0.838 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.5686, allocations: 37.11 kB / 0.838 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.5687, allocations: 84.56 kB / 0.8381 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009993/0.5697, allocations: 0.753 MB / 0.8388 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.5738, allocations: 5.801 MB / 0.8445 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.5745, allocations: 0.5095 MB / 0.845 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.5748, allocations: 287.1 kB / 0.8452 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.5749, allocations: 8.922 kB / 0.8453 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5749, allocations: 41.72 kB / 0.8453 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.5749, allocations: 0 / 0.8453 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002587/0.5775, allocations: 1.679 MB / 0.8469 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5775, allocations: 59.66 kB / 0.847 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.5781, allocations: 0.5584 MB / 0.8475 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.5781, allocations: 36.55 kB / 0.8476 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5784, allocations: 429.9 kB / 0.848 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5785, allocations: 171.8 kB / 0.8481 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.5787, allocations: 131.6 kB / 0.8483 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5788, allocations: 378.8 kB / 0.8486 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.5791, allocations: 270.7 kB / 0.8489 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.5796, allocations: 496.6 kB / 0.8494 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.5803, allocations: 0.8144 MB / 0.8502 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5803, allocations: 1.375 kB / 0.8502 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001275/0.5816, allocations: 1.08 MB / 0.8512 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5816, allocations: 7.719 kB / 0.8512 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5817, allocations: 6.688 kB / 0.8512 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/0.5822, allocations: 277.2 kB / 0.8515 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5825, allocations: 121.8 kB / 0.8516 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.5873, allocations: 6.74 MB / 0.8582 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.5875, allocations: 37.72 kB / 0.8582 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.5876, allocations: 27.47 kB / 0.8583 GB, free: 4.691 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.0002529/0.5878, allocations: 255 kB / 0.8585 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.5879, allocations: 79.34 kB / 0.8586 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.589, allocations: 0.8753 MB / 0.8594 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.589, allocations: 4.125 kB / 0.8594 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.589, allocations: 7.688 kB / 0.8594 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.589, allocations: 5.328 kB / 0.8594 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.5909, allocations: 1.689 MB / 0.8611 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5909, allocations: 6.219 kB / 0.8611 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.591, allocations: 59.92 kB / 0.8612 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/0.5915, allocations: 265.2 kB / 0.8614 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5915, allocations: 11.78 kB / 0.8614 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.5957, allocations: 6.714 MB / 0.868 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5957, allocations: 2.281 kB / 0.868 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5967, allocations: 0.9821 MB / 0.8689 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.5969, allocations: 124.7 kB / 0.8691 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.5969, allocations: 11.81 kB / 0.8691 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.5971, allocations: 28.5 kB / 0.8691 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.5972, allocations: 43.23 kB / 0.8691 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.5972, allocations: 10.97 kB / 0.8691 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003235/0.5975, allocations: 384.3 kB / 0.8695 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.5975, allocations: 5.125 kB / 0.8695 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005916/0.5981, allocations: 224.1 kB / 0.8697 GB, free: 11.44 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.001264/0.5994, allocations: 1.536 MB / 0.8712 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6008, allocations: 1.227 MB / 0.8724 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6008, allocations: 1.125 kB / 0.8724 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.6015, allocations: 0.8632 MB / 0.8733 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.6022, allocations: 229.9 kB / 0.8735 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007716/0.6099, allocations: 6.369 MB / 0.8797 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.6105, allocations: 1.009 MB / 0.8807 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003445/0.6109, allocations: 126 kB / 0.8808 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.6111, allocations: 251.3 kB / 0.8811 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of SimCode: time 1.323e-06/0.6111, allocations: 4 kB / 0.8811 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.6499, allocations: 18.04 MB / 0.8987 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.218, allocations: 10.48 kB / 0.8987 GB, free: 1.055 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.312268846901134] Failed to read output from testmodel.py, exit status != 0: 8.305359018966556 8.314315148 7.749345942 Calling exit ...