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.0007635/0.0007635, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007824/0.0007824, allocations: 165.9 kB / 23.18 MB, free: 1.387 MB / 18.57 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.8783/0.8783, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.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.7217/0.7217, allocations: 154.7 MB / 414.7 MB, free: 0.7461 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0008956/0.0008956, allocations: 67.91 kB / 0.6195 GB, free: 13.2 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4485, allocations: 102 MB / 0.7191 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001941/0.4505, allocations: 1.423 MB / 0.7205 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.4525, allocations: 2.392 MB / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.4525, allocations: 0 / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.4536, allocations: 0.5485 MB / 0.7233 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.4537, allocations: 19.78 kB / 0.7234 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.4537, allocations: 1.25 kB / 0.7234 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4539, allocations: 162.2 kB / 0.7235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.454, allocations: 15.55 kB / 0.7235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.454, allocations: 86.2 kB / 0.7236 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4542, allocations: 87.48 kB / 0.7237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.4542, allocations: 2.281 kB / 0.7237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.4549, allocations: 411.8 kB / 0.7241 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.4549, allocations: 36.92 kB / 0.7241 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.455, allocations: 77.23 kB / 0.7242 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.4555, allocations: 463.7 kB / 0.7246 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4555, allocations: 0.6562 kB / 0.7246 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.113e-06/0.4555, allocations: 0 / 0.7246 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4555, allocations: 0 / 0.7246 GB, free: 20.41 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005878/0.4561, allocations: 493.1 kB / 0.7251 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4562, allocations: 9.812 kB / 0.7251 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.4563, allocations: 109.3 kB / 0.7252 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4564, allocations: 242.5 kB / 0.7255 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.4564, allocations: 153.7 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4565, allocations: 156.4 kB / 0.7258 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.918e-05/0.4565, allocations: 103.7 kB / 0.7259 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4565, allocations: 76.97 kB / 0.7259 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.4565, allocations: 155.2 kB / 0.7261 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4566, allocations: 156 kB / 0.7262 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.4566, allocations: 154.5 kB / 0.7264 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.4568, allocations: 497.1 kB / 0.7268 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.4568, allocations: 167.5 kB / 0.727 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.4568, allocations: 88.73 kB / 0.7271 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.4569, allocations: 76.09 kB / 0.7272 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4569, allocations: 112.5 kB / 0.7273 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.4569, allocations: 0 / 0.7273 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001179/0.457, allocations: 63.44 kB / 0.7273 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.457, allocations: 128.3 kB / 0.7274 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.4574, allocations: 432 kB / 0.7279 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.4574, allocations: 25.7 kB / 0.7279 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.4574, allocations: 135 kB / 0.728 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.4574, allocations: 1.219 kB / 0.728 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.4575, allocations: 93.47 kB / 0.7281 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.4576, allocations: 342.2 kB / 0.7284 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.4577, allocations: 96.58 kB / 0.7285 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.4578, allocations: 172.5 kB / 0.7287 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.458, allocations: 302.7 kB / 0.729 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.458, allocations: 0 / 0.729 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003724/0.4584, allocations: 331.6 kB / 0.7293 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4584, allocations: 6.281 kB / 0.7293 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4584, allocations: 1.484 kB / 0.7293 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4584, allocations: 6.688 kB / 0.7293 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.4584, allocations: 1.953 kB / 0.7293 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4584, allocations: 11.5 kB / 0.7293 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.4585, allocations: 49.56 kB / 0.7294 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.4585, allocations: 8 kB / 0.7294 GB, free: 16.44 MB / 0.6355 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.0001586/0.4587, allocations: 240.7 kB / 0.7296 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.4587, allocations: 130.1 kB / 0.7297 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.4588, allocations: 115.4 kB / 0.7298 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.4588, allocations: 186.1 kB / 0.73 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.4588, allocations: 178.2 kB / 0.7302 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4588, allocations: 182.3 kB / 0.7304 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.4589, allocations: 428.3 kB / 0.7308 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.4589, allocations: 101.8 kB / 0.7309 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.4589, allocations: 107 kB / 0.731 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.459, allocations: 182.3 kB / 0.7311 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.459, allocations: 183.4 kB / 0.7313 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.459, allocations: 178.2 kB / 0.7315 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/0.459, allocations: 189.9 kB / 0.7317 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.829e-05/0.4591, allocations: 324.8 kB / 0.732 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.4591, allocations: 135.2 kB / 0.7321 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.4591, allocations: 178.7 kB / 0.7323 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.4592, allocations: 114.4 kB / 0.7324 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.4592, allocations: 183.6 kB / 0.7326 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.4592, allocations: 105.6 kB / 0.7327 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002044/0.4594, allocations: 277 kB / 0.7329 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4594, allocations: 0 / 0.7329 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002918/0.4597, allocations: 86.69 kB / 0.733 GB, free: 12.91 MB / 0.6355 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.0002932/0.46, allocations: 298.4 kB / 0.7333 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.4602, allocations: 118.6 kB / 0.7334 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4602, allocations: 0 / 0.7334 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.4602, allocations: 2.156 kB / 0.7334 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.4604, allocations: 471.1 kB / 0.7339 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.4609, allocations: 0.5285 MB / 0.7344 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.461, allocations: 162.3 kB / 0.7345 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.461, allocations: 14.78 kB / 0.7345 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.461, allocations: 0 / 0.7345 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.004594/0.4656, allocations: 3.256 MB / 0.7377 GB, free: 11.43 MB / 0.6355 GB " [Timeout remaining time 660] 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.765262835193425] Failed to read output from testmodel.py, exit status != 0: 0.4721527888905257 0.481461905 0.024116268000000003 Calling exit ...