Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0007247/0.0007247, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0007551/0.0007551, allocations: 210.4 kB / 23 MB, free: 2.973 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.8695/0.8695, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7385/0.7385, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [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.0009466/0.0009466, allocations: 62.91 kB / 0.719 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4959, allocations: 102 MB / 0.8186 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001906/0.4978, allocations: 1.425 MB / 0.82 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.5001, allocations: 2.41 MB / 0.8223 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.5002, allocations: 0 / 0.8223 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5015, allocations: 0.5457 MB / 0.8229 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.5016, allocations: 13.92 kB / 0.8229 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.5016, allocations: 1.812 kB / 0.8229 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.5018, allocations: 163.7 kB / 0.823 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.5019, allocations: 10.33 kB / 0.823 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.5019, allocations: 59.22 kB / 0.8231 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.5021, allocations: 78.14 kB / 0.8232 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.5021, allocations: 6.344 kB / 0.8232 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007947/0.5029, allocations: 405.1 kB / 0.8236 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.5029, allocations: 41.39 kB / 0.8236 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.5031, allocations: 76.55 kB / 0.8237 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.5037, allocations: 441.1 kB / 0.8241 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5037, allocations: 0 / 0.8241 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5037, allocations: 1.062 kB / 0.8241 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.5037, allocations: 0 / 0.8241 GB, free: 14.24 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007596/0.5045, allocations: 492.7 kB / 0.8246 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5046, allocations: 10.16 kB / 0.8246 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.5047, allocations: 104.3 kB / 0.8247 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.5049, allocations: 255.6 kB / 0.8249 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.5049, allocations: 152.5 kB / 0.8251 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.505, allocations: 154.5 kB / 0.8252 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.173e-05/0.505, allocations: 102.4 kB / 0.8253 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.505, allocations: 76.69 kB / 0.8254 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.5051, allocations: 158.5 kB / 0.8255 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.5052, allocations: 153.4 kB / 0.8257 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.5052, allocations: 155.6 kB / 0.8258 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.5055, allocations: 491.5 kB / 0.8263 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.5056, allocations: 172.6 kB / 0.8265 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.5056, allocations: 80.14 kB / 0.8265 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.5056, allocations: 84.61 kB / 0.8266 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5057, allocations: 107.9 kB / 0.8267 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.5057, allocations: 0 / 0.8267 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001277/0.5058, allocations: 64.62 kB / 0.8268 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.5058, allocations: 127.2 kB / 0.8269 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.5062, allocations: 431.9 kB / 0.8273 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.5062, allocations: 29.7 kB / 0.8273 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.5063, allocations: 135 kB / 0.8275 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.5063, allocations: 0 / 0.8275 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.5064, allocations: 90.02 kB / 0.8276 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.5065, allocations: 344.4 kB / 0.8279 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5066, allocations: 99.52 kB / 0.828 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.5067, allocations: 168.2 kB / 0.8281 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.507, allocations: 298.8 kB / 0.8284 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.507, allocations: 0 / 0.8284 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004364/0.5075, allocations: 330.7 kB / 0.8287 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5075, allocations: 6.375 kB / 0.8287 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5075, allocations: 1.953 kB / 0.8288 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5075, allocations: 6.375 kB / 0.8288 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-06/0.5075, allocations: 7.047 kB / 0.8288 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5075, allocations: 5.469 kB / 0.8288 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.5076, allocations: 49.84 kB / 0.8288 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.5076, allocations: 3.938 kB / 0.8288 GB, free: 10.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.5079, allocations: 240.9 kB / 0.8291 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.5079, allocations: 133.2 kB / 0.8292 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.508, allocations: 119.8 kB / 0.8293 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.377e-05/0.508, allocations: 186.2 kB / 0.8295 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/0.5081, allocations: 179.5 kB / 0.8296 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.759e-05/0.5081, allocations: 180.8 kB / 0.8298 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.5083, allocations: 427.9 kB / 0.8302 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.5083, allocations: 107 kB / 0.8303 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.5084, allocations: 107 kB / 0.8304 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.343e-05/0.5084, allocations: 180.1 kB / 0.8306 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.5084, allocations: 176.9 kB / 0.8308 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.26e-05/0.5085, allocations: 183.1 kB / 0.8309 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.181e-05/0.5085, allocations: 185.5 kB / 0.8311 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.5086, allocations: 324.3 kB / 0.8314 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.5087, allocations: 126.7 kB / 0.8315 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.5088, allocations: 186.7 kB / 0.8317 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.5088, allocations: 107.1 kB / 0.8318 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.5089, allocations: 186.6 kB / 0.832 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.5089, allocations: 106.7 kB / 0.8321 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002319/0.5091, allocations: 281.3 kB / 0.8324 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5091, allocations: 0 / 0.8324 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003108/0.5094, allocations: 86.67 kB / 0.8325 GB, free: 6.738 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003049/0.5098, allocations: 297.8 kB / 0.8327 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5099, allocations: 122.4 kB / 0.8329 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5099, allocations: 1.375 kB / 0.8329 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5099, allocations: 0 / 0.8329 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.5102, allocations: 465.2 kB / 0.8333 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.5108, allocations: 0.5267 MB / 0.8338 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.5109, allocations: 166 kB / 0.834 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.5109, allocations: 9.688 kB / 0.834 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5109, allocations: 7.938 kB / 0.834 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of Templates: time 0.006122/0.5171, allocations: 3.249 MB / 0.8372 GB, free: 5.25 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.809357117861509] Failed to read output from testmodel.py, exit status != 0: 0.5232526641339064 0.532641651 0.026910181000000002 Calling exit ...