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.0009104/0.0009104, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001542/0.001542, allocations: 169 kB / 23.27 MB, free: 1.223 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.9178/0.9178, allocations: 177.2 MB / 203.7 MB, free: 5.52 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-545:108: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-545:116: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.7546/0.7546, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5207 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.279e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001559/0.001572, allocations: 1.456 MB / 0.5222 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.003654, allocations: 2.605 MB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.003679, allocations: 0 / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00093/0.004609, allocations: 0.5659 MB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.004646, allocations: 25.12 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 2.705e-06/0.004649, allocations: 0 / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.004829, allocations: 168.3 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.004868, allocations: 12.59 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.004941, allocations: 83.73 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.005028, allocations: 63.77 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.00504, allocations: 5.688 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.005551, allocations: 405.7 kB / 0.526 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.00559, allocations: 38.59 kB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.005641, allocations: 55.81 kB / 0.5261 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.006012, allocations: 434.2 kB / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006014, allocations: 0 / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006015, allocations: 0 / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.006018, allocations: 0 / 0.5265 GB, free: 12.02 MB / 0.4948 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.0004629/0.006481, allocations: 0.6019 MB / 0.5271 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.006509, allocations: 8.031 kB / 0.5271 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.006604, allocations: 144 kB / 0.5272 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.00673, allocations: 287.4 kB / 0.5275 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.006783, allocations: 246.8 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.006832, allocations: 239.7 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.038e-05/0.006882, allocations: 157.3 kB / 0.5281 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.006908, allocations: 123.4 kB / 0.5282 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.006957, allocations: 239.6 kB / 0.5285 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-05/0.007012, allocations: 238.8 kB / 0.5287 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.007062, allocations: 248.3 kB / 0.5289 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.00731, allocations: 0.627 MB / 0.5295 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.007384, allocations: 269.4 kB / 0.5298 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.007413, allocations: 126.9 kB / 0.5299 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.007438, allocations: 119.2 kB / 0.53 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.007479, allocations: 157.2 kB / 0.5302 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.00748, allocations: 0 / 0.5302 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001015/0.007581, allocations: 58.16 kB / 0.5302 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.007626, allocations: 170.6 kB / 0.5304 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.007899, allocations: 482.8 kB / 0.5309 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.007909, allocations: 26.67 kB / 0.5309 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.007992, allocations: 203.3 kB / 0.5311 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.007994, allocations: 0 / 0.5311 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.008073, allocations: 125.8 kB / 0.5312 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.008217, allocations: 0.539 MB / 0.5317 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.008247, allocations: 28.66 kB / 0.5318 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.008323, allocations: 133.7 kB / 0.5319 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.008486, allocations: 209.4 kB / 0.5321 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.008488, allocations: 4 kB / 0.5321 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000259/0.008747, allocations: 248.3 kB / 0.5323 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.008757, allocations: 8 kB / 0.5323 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008762, allocations: 0 / 0.5323 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.008771, allocations: 4 kB / 0.5323 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.008775, allocations: 3.938 kB / 0.5323 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.008778, allocations: 4 kB / 0.5323 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.008853, allocations: 43.52 kB / 0.5324 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.00886, allocations: 7.938 kB / 0.5324 GB, free: 5.734 MB / 0.4948 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 9.873e-05/0.008958, allocations: 284.7 kB / 0.5327 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.009067, allocations: 168.7 kB / 0.5328 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.009108, allocations: 155.5 kB / 0.533 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-05/0.009158, allocations: 276.6 kB / 0.5332 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-05/0.009207, allocations: 272 kB / 0.5335 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.894e-05/0.009255, allocations: 275.5 kB / 0.5338 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.009434, allocations: 0.5277 MB / 0.5343 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/0.009461, allocations: 144.9 kB / 0.5344 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.009491, allocations: 156.9 kB / 0.5346 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.009666, allocations: 268.1 kB / 0.5348 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.00972, allocations: 268.1 kB / 0.5351 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-05/0.009775, allocations: 276 kB / 0.5353 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.984e-05/0.009825, allocations: 264.1 kB / 0.5356 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.009942, allocations: 471.7 kB / 0.536 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.009999, allocations: 176.1 kB / 0.5362 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.01007, allocations: 272 kB / 0.5365 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.01015, allocations: 144.9 kB / 0.5366 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.01021, allocations: 272 kB / 0.5369 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.01024, allocations: 144.9 kB / 0.537 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001163/0.01036, allocations: 255 kB / 0.5372 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01036, allocations: 0 / 0.5372 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002257/0.01058, allocations: 87.86 kB / 0.5373 GB, free: 0.4961 MB / 0.4948 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.0002432/0.01083, allocations: 366.1 kB / 0.5377 GB, free: 152 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.01094, allocations: 102.1 kB / 0.5378 GB, free: 48 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01094, allocations: 0 / 0.5378 GB, free: 48 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.01094, allocations: 3.938 kB / 0.5378 GB, free: 44 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.01148, allocations: 0.7138 MB / 0.5385 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.01195, allocations: 496.9 kB / 0.5389 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.535e-05/0.012, allocations: 99.28 kB / 0.539 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.673e-06/0.012, allocations: 0 / 0.539 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01204, allocations: 78.81 kB / 0.5391 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.01204, allocations: 1.938 kB / 0.5391 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.00527/0.01731, allocations: 4.372 MB / 0.5434 GB, free: 10.38 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.602644783910364]