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.0007603/0.0007603, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008484/0.0008484, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.96/0.96, allocations: 230.6 MB / 256 MB, free: 9.594 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.8002/0.8002, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.001396/0.001396, allocations: 62.59 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5349, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009163/0.544, allocations: 10.33 MB / 0.8279 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.556, allocations: 8.503 MB / 0.8362 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.5577, allocations: 78.25 kB / 0.8363 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.5607, allocations: 1.673 MB / 0.8379 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.566, allocations: 1.573 MB / 0.8394 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.5677, allocations: 0.6783 MB / 0.8401 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003622/0.5714, allocations: 2.295 MB / 0.8423 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.5732, allocations: 1.137 MB / 0.8434 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.5754, allocations: 1.029 MB / 0.8444 GB, free: 148 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.5774, allocations: 1.006 MB / 0.8454 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.5778, allocations: 138.1 kB / 0.8456 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.5794, allocations: 0.7458 MB / 0.8463 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005429/0.58, allocations: 0.575 MB / 0.8469 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.5811, allocations: 0.7215 MB / 0.8476 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.5841, allocations: 2.599 MB / 0.8501 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5841, allocations: 1.688 kB / 0.8501 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5841, allocations: 0 / 0.8501 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.953e-05/0.5842, allocations: 0 / 0.8501 GB, free: 12.59 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.003801/0.588, allocations: 1.996 MB / 0.852 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5881, allocations: 13.56 kB / 0.8521 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.5883, allocations: 192.4 kB / 0.8522 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/0.5945, allocations: 2.051 MB / 0.8542 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.5965, allocations: 1.139 MB / 0.8554 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.5966, allocations: 88.77 kB / 0.8554 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.5968, allocations: 120.1 kB / 0.8556 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.6004, allocations: 2.886 MB / 0.8584 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.6004, allocations: 10.77 kB / 0.8584 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.6005, allocations: 51.06 kB / 0.8584 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/0.6008, allocations: 131.2 kB / 0.8586 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/0.605, allocations: 2.535 MB / 0.861 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00972/0.6148, allocations: 7.639 MB / 0.8685 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.6184, allocations: 1.849 MB / 0.8703 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.62, allocations: 0.942 MB / 0.8712 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.62, allocations: 6.062 kB / 0.8712 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.62, allocations: 42.38 kB / 0.8713 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.866e-06/0.62, allocations: 1.094 kB / 0.8713 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01655/0.6366, allocations: 8.635 MB / 0.8797 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.6366, allocations: 68 kB / 0.8798 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.6378, allocations: 1.108 MB / 0.8808 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/0.6379, allocations: 41.7 kB / 0.8809 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.6383, allocations: 0.7512 MB / 0.8816 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6385, allocations: 301.4 kB / 0.8819 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.6387, allocations: 202.5 kB / 0.8821 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.6388, allocations: 341.9 kB / 0.8824 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.6404, allocations: 1.071 MB / 0.8835 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.6421, allocations: 1.309 MB / 0.8848 GB, free: 332 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.6456, allocations: 2.386 MB / 0.8871 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6456, allocations: 4 kB / 0.8871 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004994/0.6506, allocations: 3.257 MB / 0.8903 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.6506, allocations: 10.5 kB / 0.8903 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6507, allocations: 8 kB / 0.8903 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.6522, allocations: 0.7877 MB / 0.8911 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/0.6532, allocations: 411.3 kB / 0.8914 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009882/0.663, allocations: 14.99 MB / 0.9061 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.6645, allocations: 291.5 kB / 0.9064 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.6646, allocations: 47.97 kB / 0.9064 GB, free: 9.07 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.000634/0.6652, allocations: 401.5 kB / 0.9068 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.6654, allocations: 151.1 kB / 0.9069 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/0.6704, allocations: 3.183 MB / 0.91 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6704, allocations: 8 kB / 0.91 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.6704, allocations: 8 kB / 0.9101 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6704, allocations: 3.984 kB / 0.9101 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.6767, allocations: 4.612 MB / 0.9146 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6767, allocations: 4 kB / 0.9146 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.6776, allocations: 367.6 kB / 0.9149 GB, free: 192 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.6788, allocations: 0.694 MB / 0.9156 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.6789, allocations: 27.97 kB / 0.9156 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009205/0.6881, allocations: 14.61 MB / 0.9299 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6881, allocations: 4.031 kB / 0.9299 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/0.6927, allocations: 3.025 MB / 0.9328 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008065/0.6935, allocations: 310.8 kB / 0.9331 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.6936, allocations: 16 kB / 0.9332 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.6946, allocations: 299.4 kB / 0.9334 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.6948, allocations: 84.44 kB / 0.9335 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.6949, allocations: 35.97 kB / 0.9336 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000807/0.6957, allocations: 0.7405 MB / 0.9343 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6957, allocations: 0 / 0.9343 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001334/0.697, allocations: 436 kB / 0.9347 GB, free: 10.9 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.004721/0.7017, allocations: 3.593 MB / 0.9382 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004803/0.7065, allocations: 3.515 MB / 0.9416 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.7065, allocations: 128 / 0.9416 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/0.7094, allocations: 2.317 MB / 0.9439 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.711, allocations: 0.5205 MB / 0.9444 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.7317, allocations: 15.84 MB / 0.9599 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.7324, allocations: 0.806 MB / 0.9607 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001017/0.7334, allocations: 383.8 kB / 0.961 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.734, allocations: 0.5969 MB / 0.9616 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of SimCode: time 1.473e-06/0.734, allocations: 0 / 0.9616 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.8053, allocations: 45.6 MB / 1.006 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.558, allocations: 3.938 kB / 1.006 GB, free: 1.676 MB / 0.7761 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 11.6080749691464] Failed to read output from testmodel.py, exit status != 0: 8.661895656958222 8.671991088 8.086016243 Calling exit ...