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.001432/0.001432, allocations: 88.83 kB / 19.44 MB, free: 352 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.001629/0.001629, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.506/1.506, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.254/1.254, allocations: 154.6 MB / 414.2 MB, free: 0.625 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 178] 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 1.633e-06/1.633e-06, allocations: 0 / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.703e-05, allocations: 4.5 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003189/0.003216, allocations: 1.411 MB / 0.521 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.006623, allocations: 1.745 MB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.006661, allocations: 0 / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.008034, allocations: 365.3 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.008101, allocations: 19.84 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 4.107e-06/0.008105, allocations: 4 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.008366, allocations: 131.1 kB / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.008417, allocations: 10.56 kB / 0.5232 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.008532, allocations: 63.81 kB / 0.5232 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.008667, allocations: 49.36 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.008685, allocations: 0 / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.009181, allocations: 176.9 kB / 0.5235 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.009252, allocations: 35.89 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.009335, allocations: 43.86 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.009915, allocations: 303.5 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.009918, allocations: 0 / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.009918, allocations: 1.281 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.009924, allocations: 3.938 kB / 0.5238 GB, free: 14.25 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.000849/0.01077, allocations: 417.8 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01081, allocations: 9.094 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.01103, allocations: 108 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.0113, allocations: 224.4 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.621e-05/0.01139, allocations: 162.2 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.01148, allocations: 150.9 kB / 0.5248 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.01158, allocations: 105.5 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/0.01163, allocations: 75.47 kB / 0.525 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.01173, allocations: 158.7 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.612e-05/0.01182, allocations: 150.6 kB / 0.5253 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.01191, allocations: 158.5 kB / 0.5255 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.01236, allocations: 461.4 kB / 0.5259 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.01248, allocations: 165.1 kB / 0.5261 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.01253, allocations: 87.17 kB / 0.5261 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.01258, allocations: 79.27 kB / 0.5262 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.576e-05/0.01266, allocations: 109.8 kB / 0.5263 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.01266, allocations: 0 / 0.5263 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001889/0.01285, allocations: 53.5 kB / 0.5264 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.01293, allocations: 130.6 kB / 0.5265 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.01333, allocations: 321.7 kB / 0.5268 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.01336, allocations: 27.2 kB / 0.5268 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.01346, allocations: 112.5 kB / 0.5269 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.01346, allocations: 0 / 0.5269 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.01355, allocations: 65.67 kB / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.01374, allocations: 326.8 kB / 0.5273 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.01384, allocations: 64.45 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.014, allocations: 126.9 kB / 0.5275 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.01428, allocations: 205.9 kB / 0.5277 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01428, allocations: 0 / 0.5277 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005475/0.01483, allocations: 264.2 kB / 0.5279 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01485, allocations: 4 kB / 0.528 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01486, allocations: 0 / 0.528 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.01488, allocations: 7.984 kB / 0.528 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-06/0.01488, allocations: 11.88 kB / 0.528 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01489, allocations: 0 / 0.528 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01502, allocations: 31.67 kB / 0.528 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.01504, allocations: 6.438 kB / 0.528 GB, free: 9.766 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.0002769/0.01531, allocations: 225 kB / 0.5282 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.01541, allocations: 120.8 kB / 0.5283 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.0155, allocations: 117.8 kB / 0.5284 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003329/0.01583, allocations: 180.2 kB / 0.5286 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/0.01594, allocations: 190.1 kB / 0.5288 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/0.01604, allocations: 180.2 kB / 0.529 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.01637, allocations: 400.8 kB / 0.5294 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.753e-05/0.01643, allocations: 105 kB / 0.5295 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.0165, allocations: 108.9 kB / 0.5296 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.36e-05/0.0166, allocations: 177.3 kB / 0.5297 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.0167, allocations: 188.2 kB / 0.5299 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.269e-05/0.01679, allocations: 177.2 kB / 0.5301 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.89e-05/0.01689, allocations: 180.5 kB / 0.5302 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.0171, allocations: 327.6 kB / 0.5306 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.0172, allocations: 126.3 kB / 0.5307 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.01733, allocations: 180.3 kB / 0.5309 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.01748, allocations: 101 kB / 0.531 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.01759, allocations: 184.1 kB / 0.5311 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.01764, allocations: 110.3 kB / 0.5312 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002531/0.0179, allocations: 221.2 kB / 0.5314 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0179, allocations: 0 / 0.5314 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003734/0.01827, allocations: 56.56 kB / 0.5315 GB, free: 6.016 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.000409/0.01868, allocations: 281.3 kB / 0.5318 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.01887, allocations: 90.36 kB / 0.5319 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01887, allocations: 4 kB / 0.5319 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.01887, allocations: 0 / 0.5319 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.01936, allocations: 460.2 kB / 0.5323 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.01996, allocations: 390.9 kB / 0.5327 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.02011, allocations: 132.6 kB / 0.5328 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.02013, allocations: 5.094 kB / 0.5328 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.02015, allocations: 16.38 kB / 0.5328 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.02016, allocations: 0 / 0.5328 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of Templates: time 0.006497/0.02665, allocations: 2.312 MB / 0.5351 GB, free: 2.461 MB / 0.4948 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.889790709014051]