Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0009969/0.0009969, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009762/0.0009762, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.8075/0.8075, allocations: 154.6 MB / 414.9 MB, free: 0.6719 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.105e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003017/0.003048, allocations: 1.446 MB / 0.5217 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.005523, allocations: 1.903 MB / 0.5236 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.00556, allocations: 0 / 0.5236 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.006709, allocations: 373.1 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.006768, allocations: 20.62 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.006772, allocations: 0 / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.007034, allocations: 136.9 kB / 0.5241 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.007086, allocations: 5.688 kB / 0.5241 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.007185, allocations: 67.8 kB / 0.5242 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007306, allocations: 51.89 kB / 0.5242 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.007324, allocations: 2.062 kB / 0.5242 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.007713, allocations: 179.8 kB / 0.5244 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.007773, allocations: 27.92 kB / 0.5244 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.007847, allocations: 51.84 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.008311, allocations: 284.3 kB / 0.5247 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.008314, allocations: 0 / 0.5247 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.008316, allocations: 0 / 0.5247 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.00832, allocations: 0 / 0.5247 GB, free: 14.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.0007155/0.009036, allocations: 0.52 MB / 0.5252 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.009081, allocations: 17.12 kB / 0.5252 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.009272, allocations: 140 kB / 0.5254 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.009505, allocations: 275.1 kB / 0.5256 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.009579, allocations: 239.5 kB / 0.5259 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.009658, allocations: 242.8 kB / 0.5261 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.928e-05/0.009737, allocations: 157.9 kB / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.009774, allocations: 120.3 kB / 0.5264 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.009847, allocations: 242.5 kB / 0.5266 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.009926, allocations: 242.4 kB / 0.5268 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.009997, allocations: 239.6 kB / 0.5271 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.01042, allocations: 0.6499 MB / 0.5277 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.01053, allocations: 273.4 kB / 0.528 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.01058, allocations: 127.4 kB / 0.5281 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.01061, allocations: 124.8 kB / 0.5282 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.01067, allocations: 156.6 kB / 0.5283 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.01067, allocations: 0 / 0.5283 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.000182/0.01085, allocations: 45.61 kB / 0.5284 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.01093, allocations: 181 kB / 0.5286 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.0113, allocations: 372 kB / 0.5289 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01131, allocations: 25.7 kB / 0.5289 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01141, allocations: 179.2 kB / 0.5291 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.01142, allocations: 0 / 0.5291 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.01151, allocations: 87.34 kB / 0.5292 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.01168, allocations: 0.504 MB / 0.5297 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.01175, allocations: 34.58 kB / 0.5297 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.01186, allocations: 105.8 kB / 0.5298 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.01205, allocations: 161.7 kB / 0.53 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01206, allocations: 0 / 0.53 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004393/0.0125, allocations: 189.4 kB / 0.5302 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01251, allocations: 4 kB / 0.5302 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.01252, allocations: 4.938 kB / 0.5302 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01254, allocations: 0 / 0.5302 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-06/0.01255, allocations: 7.938 kB / 0.5302 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01255, allocations: 4.969 kB / 0.5302 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.01268, allocations: 27.73 kB / 0.5302 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.0127, allocations: 8 kB / 0.5302 GB, free: 8.148 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 0.000162/0.01286, allocations: 289.1 kB / 0.5305 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.01295, allocations: 168.7 kB / 0.5306 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.01302, allocations: 157.7 kB / 0.5308 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.743e-05/0.01311, allocations: 264.1 kB / 0.531 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.045e-05/0.0132, allocations: 275.9 kB / 0.5313 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.253e-05/0.01328, allocations: 268.1 kB / 0.5316 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.0136, allocations: 0.5533 MB / 0.5321 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.01365, allocations: 144.9 kB / 0.5322 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.01369, allocations: 148.9 kB / 0.5324 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/0.01377, allocations: 276 kB / 0.5326 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/0.01385, allocations: 268.1 kB / 0.5329 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.254e-05/0.01393, allocations: 268 kB / 0.5332 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-05/0.01401, allocations: 268.1 kB / 0.5334 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.01419, allocations: 464.5 kB / 0.5339 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.01426, allocations: 164.8 kB / 0.534 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.01436, allocations: 273.5 kB / 0.5343 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.01449, allocations: 153.2 kB / 0.5344 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.01457, allocations: 268 kB / 0.5347 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.01462, allocations: 152.9 kB / 0.5348 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001721/0.01479, allocations: 222.5 kB / 0.535 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01479, allocations: 4 kB / 0.535 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004354/0.01523, allocations: 63.88 kB / 0.5351 GB, free: 2.953 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.0004181/0.01565, allocations: 317.3 kB / 0.5354 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.01583, allocations: 79.33 kB / 0.5355 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01583, allocations: 0 / 0.5355 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.01583, allocations: 0 / 0.5355 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.01632, allocations: 0.7169 MB / 0.5362 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.0171, allocations: 406.5 kB / 0.5366 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.01717, allocations: 86.62 kB / 0.5366 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.376e-05/0.01718, allocations: 3.984 kB / 0.5367 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.01721, allocations: 12.5 kB / 0.5367 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01721, allocations: 0 / 0.5367 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of Templates: time 0.006188/0.0234, allocations: 2.3 MB / 0.5389 GB, free: 15.16 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8886709299404174]