Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001239/0.001239, 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.001887/0.001887, allocations: 218.9 kB / 22.25 MB, free: 3.699 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.9972/0.9972, allocations: 230.6 MB / 256 MB, free: 9.812 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.8012/0.8012, 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.0008696/0.0008696, allocations: 74.45 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4576, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009512/0.4671, allocations: 11.31 MB / 0.8289 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.4775, allocations: 9.151 MB / 0.8379 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.479, allocations: 78.69 kB / 0.8379 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.4819, allocations: 1.739 MB / 0.8396 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.4871, allocations: 1.572 MB / 0.8412 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.4891, allocations: 0.6884 MB / 0.8418 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.4923, allocations: 2.287 MB / 0.8441 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.4937, allocations: 1.155 MB / 0.8452 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.4952, allocations: 1.03 MB / 0.8462 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.4964, allocations: 1.072 MB / 0.8472 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.4966, allocations: 145.8 kB / 0.8474 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.4979, allocations: 0.8233 MB / 0.8482 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004056/0.4983, allocations: 0.5783 MB / 0.8488 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007875/0.4991, allocations: 0.8861 MB / 0.8496 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.5015, allocations: 2.576 MB / 0.8521 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5015, allocations: 0 / 0.8521 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5015, allocations: 0 / 0.8521 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.844e-05/0.5015, allocations: 0 / 0.8521 GB, free: 10.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002553/0.5041, allocations: 2 MB / 0.8541 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5041, allocations: 12.97 kB / 0.8541 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.5043, allocations: 193.7 kB / 0.8543 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005619/0.5099, allocations: 2.051 MB / 0.8563 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.512, allocations: 1.138 MB / 0.8574 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.5121, allocations: 93.44 kB / 0.8575 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.5122, allocations: 119 kB / 0.8576 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.5159, allocations: 2.471 MB / 0.86 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.5159, allocations: 11.58 kB / 0.86 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.5161, allocations: 50.02 kB / 0.8601 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.5163, allocations: 131.9 kB / 0.8602 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004428/0.5207, allocations: 2.546 MB / 0.8627 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/0.5354, allocations: 9.92 MB / 0.8724 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.5385, allocations: 1.842 MB / 0.8742 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.54, allocations: 0.9462 MB / 0.8751 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.54, allocations: 10.19 kB / 0.8751 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.54, allocations: 42.34 kB / 0.8751 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.445e-06/0.54, allocations: 0 / 0.8751 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01563/0.5557, allocations: 8.638 MB / 0.8836 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.5557, allocations: 64 kB / 0.8836 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5567, allocations: 1.097 MB / 0.8847 GB, free: 488 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.5568, allocations: 41.7 kB / 0.8848 GB, free: 440 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.5572, allocations: 0.7553 MB / 0.8855 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5574, allocations: 293.5 kB / 0.8858 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.5576, allocations: 210.4 kB / 0.886 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.5577, allocations: 341.9 kB / 0.8863 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.5592, allocations: 1.079 MB / 0.8874 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.5607, allocations: 1.301 MB / 0.8886 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.564, allocations: 2.382 MB / 0.8909 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.564, allocations: 4 kB / 0.891 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004723/0.5687, allocations: 3.254 MB / 0.8941 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5688, allocations: 8 kB / 0.8941 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5688, allocations: 8 kB / 0.8941 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.5703, allocations: 0.7874 MB / 0.8949 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.5712, allocations: 415.3 kB / 0.8953 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/0.5808, allocations: 15.1 MB / 0.9101 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.5822, allocations: 291.6 kB / 0.9103 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.5823, allocations: 51.95 kB / 0.9104 GB, free: 4.977 MB / 0.6823 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007065/0.583, allocations: 400.2 kB / 0.9108 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.5831, allocations: 151.1 kB / 0.9109 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.5875, allocations: 3.187 MB / 0.914 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5875, allocations: 8.188 kB / 0.914 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5876, allocations: 8 kB / 0.914 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5876, allocations: 7.969 kB / 0.9141 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006408/0.594, allocations: 4.842 MB / 0.9188 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.594, allocations: 4 kB / 0.9188 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.5948, allocations: 355.7 kB / 0.9191 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.596, allocations: 0.6897 MB / 0.9198 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.596, allocations: 39.89 kB / 0.9198 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008794/0.6048, allocations: 14.73 MB / 0.9342 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6048, allocations: 4.062 kB / 0.9342 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.6091, allocations: 3.017 MB / 0.9372 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/0.6097, allocations: 310.8 kB / 0.9375 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6098, allocations: 23.94 kB / 0.9375 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009057/0.6107, allocations: 295.5 kB / 0.9378 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.6109, allocations: 84.39 kB / 0.9378 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.611, allocations: 35.95 kB / 0.9379 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008561/0.6118, allocations: 0.7366 MB / 0.9386 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6118, allocations: 4 kB / 0.9386 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001075/0.6129, allocations: 436 kB / 0.939 GB, free: 6.465 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004447/0.6173, allocations: 3.586 MB / 0.9425 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004589/0.6219, allocations: 3.519 MB / 0.946 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6219, allocations: 8.062 kB / 0.946 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.6244, allocations: 2.324 MB / 0.9482 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6257, allocations: 0.5142 MB / 0.9487 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/0.6458, allocations: 15.84 MB / 0.9642 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.6466, allocations: 1.388 MB / 0.9656 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001005/0.6476, allocations: 375.9 kB / 0.9659 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/0.6483, allocations: 0.5969 MB / 0.9665 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of SimCode: time 1.433e-06/0.6483, allocations: 4 kB / 0.9665 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/0.7167, allocations: 42.68 MB / 1.008 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/9.623, allocations: 11.92 kB / 1.008 GB, free: 15.39 MB / 0.7917 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.687752537894994] Failed to read output from testmodel.py, exit status != 0: 9.72288753092289 9.738675335 9.233705295 Calling exit ...