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.0008516/0.0008516, 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.001433/0.001433, allocations: 222.9 kB / 22.26 MB, free: 3.691 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 1.029/1.029, 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.8085/0.8085, 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,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.0009632/0.0009632, allocations: 65.89 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5295, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009364/0.5389, allocations: 11.32 MB / 0.8289 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.5493, allocations: 9.15 MB / 0.8379 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.5506, allocations: 78.19 kB / 0.8379 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.5533, allocations: 1.738 MB / 0.8396 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.558, allocations: 1.578 MB / 0.8412 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.5598, allocations: 0.6793 MB / 0.8418 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003363/0.5632, allocations: 2.294 MB / 0.8441 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.5651, allocations: 1.156 MB / 0.8452 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.5675, allocations: 1.025 MB / 0.8462 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.5695, allocations: 1.072 MB / 0.8472 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.5699, allocations: 137.6 kB / 0.8474 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.5717, allocations: 0.8231 MB / 0.8482 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.5722, allocations: 0.5793 MB / 0.8487 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.5735, allocations: 0.8929 MB / 0.8496 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004125/0.5776, allocations: 2.576 MB / 0.8521 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.5776, allocations: 0 / 0.8521 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.958e-06/0.5776, allocations: 1.312 kB / 0.8521 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001218/0.5777, allocations: 3.938 kB / 0.8521 GB, free: 10.75 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.00396/0.5817, allocations: 1.999 MB / 0.8541 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5818, allocations: 9.781 kB / 0.8541 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.582, allocations: 187.9 kB / 0.8543 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/0.5878, allocations: 2.055 MB / 0.8563 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.5899, allocations: 1.138 MB / 0.8574 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.59, allocations: 88.56 kB / 0.8575 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.5901, allocations: 119.4 kB / 0.8576 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/0.5938, allocations: 2.472 MB / 0.86 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.5938, allocations: 14.8 kB / 0.86 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5939, allocations: 58.81 kB / 0.8601 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/0.5941, allocations: 127 kB / 0.8602 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004148/0.5983, allocations: 2.535 MB / 0.8627 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.6089, allocations: 9.926 MB / 0.8724 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.6125, allocations: 1.841 MB / 0.8742 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.6141, allocations: 0.9472 MB / 0.8751 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.6141, allocations: 9.516 kB / 0.8751 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6142, allocations: 42.59 kB / 0.8751 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.6142, allocations: 0 / 0.8751 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01705/0.6312, allocations: 8.639 MB / 0.8836 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.6313, allocations: 68 kB / 0.8836 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.6325, allocations: 1.097 MB / 0.8847 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.6326, allocations: 37.7 kB / 0.8848 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.633, allocations: 0.7514 MB / 0.8855 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6332, allocations: 297.5 kB / 0.8858 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.6335, allocations: 194.6 kB / 0.886 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.6336, allocations: 345.9 kB / 0.8863 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.6352, allocations: 1.071 MB / 0.8873 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.6371, allocations: 1.309 MB / 0.8886 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/0.6405, allocations: 2.382 MB / 0.8909 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6405, allocations: 0 / 0.8909 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005409/0.6459, allocations: 3.269 MB / 0.8941 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6459, allocations: 8 kB / 0.8941 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6459, allocations: 4 kB / 0.8941 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.6476, allocations: 0.7955 MB / 0.8949 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/0.6486, allocations: 415.3 kB / 0.8953 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.6587, allocations: 15.11 MB / 0.9101 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6601, allocations: 291.6 kB / 0.9103 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.6602, allocations: 51.97 kB / 0.9104 GB, free: 5.039 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.0006037/0.6608, allocations: 405.4 kB / 0.9108 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.661, allocations: 151.1 kB / 0.9109 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.6657, allocations: 3.167 MB / 0.914 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.6657, allocations: 8 kB / 0.914 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.6658, allocations: 12 kB / 0.914 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6658, allocations: 3.984 kB / 0.914 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/0.6727, allocations: 4.85 MB / 0.9188 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.6727, allocations: 4 kB / 0.9188 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.6735, allocations: 355.7 kB / 0.9191 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.6748, allocations: 0.6974 MB / 0.9198 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/0.6749, allocations: 27.97 kB / 0.9198 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.685, allocations: 14.73 MB / 0.9342 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.685, allocations: 7.938 kB / 0.9342 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.69, allocations: 3.017 MB / 0.9372 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/0.6907, allocations: 310.9 kB / 0.9375 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.6909, allocations: 15.94 kB / 0.9375 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6919, allocations: 295.5 kB / 0.9378 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.6922, allocations: 84.44 kB / 0.9378 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.6922, allocations: 35.97 kB / 0.9379 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007696/0.693, allocations: 0.7444 MB / 0.9386 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.693, allocations: 3.938 kB / 0.9386 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001346/0.6943, allocations: 435.9 kB / 0.939 GB, free: 6.527 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.004805/0.6991, allocations: 3.59 MB / 0.9425 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005079/0.7042, allocations: 3.523 MB / 0.946 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7042, allocations: 0 / 0.946 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.707, allocations: 2.317 MB / 0.9482 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.7087, allocations: 0.5294 MB / 0.9487 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/0.732, allocations: 15.83 MB / 0.9642 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.7328, allocations: 1.384 MB / 0.9656 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001012/0.7338, allocations: 379.8 kB / 0.9659 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.7344, allocations: 0.5969 MB / 0.9665 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of SimCode: time 1.041e-06/0.7344, allocations: 0 / 0.9665 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07052/0.8049, allocations: 42.69 MB / 1.008 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.596, allocations: 13.39 kB / 1.008 GB, free: 15.47 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 & /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: 12.674148347927257] Failed to read output from testmodel.py, exit status != 0: 9.694116302998737 9.702070529 9.122437425 Calling exit ...