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.0009563/0.0009563, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.0009504/0.0009504, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9601/0.9601, allocations: 177.2 MB / 204.5 MB, free: 5.488 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.7996/0.7996, allocations: 154.6 MB / 415.6 MB, free: 0.5039 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 1.653e-06/1.653e-06, allocations: 0 / 0.5215 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.713e-05, allocations: 4 kB / 0.5215 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002189/0.002217, allocations: 1.448 MB / 0.5229 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.004224, allocations: 1.905 MB / 0.5248 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.004265, allocations: 0 / 0.5248 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004593/0.008858, allocations: 369.1 kB / 0.5251 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.008945, allocations: 25.12 kB / 0.5252 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.008949, allocations: 0 / 0.5252 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.009203, allocations: 139 kB / 0.5253 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.00926, allocations: 10.91 kB / 0.5253 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.009357, allocations: 55.88 kB / 0.5254 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.009483, allocations: 55.83 kB / 0.5254 GB, free: 12.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.009501, allocations: 4.781 kB / 0.5254 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.009884, allocations: 172.7 kB / 0.5256 GB, free: 12.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.009936, allocations: 31.84 kB / 0.5256 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.01, allocations: 50.64 kB / 0.5257 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.01044, allocations: 290.8 kB / 0.5259 GB, free: 12.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01044, allocations: 0 / 0.5259 GB, free: 12.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01044, allocations: 0 / 0.5259 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.01045, allocations: 0 / 0.5259 GB, free: 12.29 MB / 458.7 MB 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.0006558/0.0111, allocations: 0.5273 MB / 0.5264 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.01114, allocations: 8.031 kB / 0.5265 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.0113, allocations: 140.5 kB / 0.5266 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.01148, allocations: 271.6 kB / 0.5268 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.01155, allocations: 239.8 kB / 0.5271 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.01162, allocations: 246.8 kB / 0.5273 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.751e-05/0.01169, allocations: 153.4 kB / 0.5275 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.01172, allocations: 120.1 kB / 0.5276 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.01179, allocations: 246.4 kB / 0.5278 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.01187, allocations: 243.9 kB / 0.528 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.01193, allocations: 238.4 kB / 0.5283 GB, free: 9.832 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.01228, allocations: 0.5959 MB / 0.5288 GB, free: 9.211 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.01238, allocations: 277.4 kB / 0.5291 GB, free: 8.926 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.01242, allocations: 127.4 kB / 0.5292 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.01246, allocations: 124.2 kB / 0.5294 GB, free: 8.676 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.01251, allocations: 156.6 kB / 0.5295 GB, free: 8.512 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.01252, allocations: 0 / 0.5295 GB, free: 8.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001567/0.01267, allocations: 50.52 kB / 0.5296 GB, free: 8.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.01274, allocations: 170.6 kB / 0.5297 GB, free: 8.277 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.01306, allocations: 367.9 kB / 0.5301 GB, free: 7.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.01308, allocations: 30.27 kB / 0.5301 GB, free: 7.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01319, allocations: 180.4 kB / 0.5303 GB, free: 7.688 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-06/0.0132, allocations: 4 kB / 0.5303 GB, free: 7.684 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.01329, allocations: 87.28 kB / 0.5304 GB, free: 7.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.01346, allocations: 0.5118 MB / 0.5309 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.0135, allocations: 20.66 kB / 0.5309 GB, free: 7.047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.01359, allocations: 101.8 kB / 0.531 GB, free: 6.918 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.01375, allocations: 157 kB / 0.5311 GB, free: 6.738 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01376, allocations: 0 / 0.5311 GB, free: 6.738 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003581/0.01411, allocations: 169.4 kB / 0.5313 GB, free: 6.566 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01413, allocations: 8 kB / 0.5313 GB, free: 6.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01413, allocations: 4 kB / 0.5313 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01414, allocations: 4 kB / 0.5313 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.01415, allocations: 0 / 0.5313 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.01415, allocations: 11.92 kB / 0.5313 GB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.01423, allocations: 30.11 kB / 0.5313 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01424, allocations: 4 kB / 0.5313 GB, free: 6.508 MB / 458.7 MB 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.0001012/0.01434, allocations: 289.4 kB / 0.5316 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.01439, allocations: 160.8 kB / 0.5318 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.01443, allocations: 162.7 kB / 0.5319 GB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.01448, allocations: 264.1 kB / 0.5322 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/0.01454, allocations: 268.1 kB / 0.5324 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-05/0.01459, allocations: 276.9 kB / 0.5327 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.01477, allocations: 0.5083 MB / 0.5332 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.01481, allocations: 148.8 kB / 0.5333 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.01483, allocations: 146 kB / 0.5335 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.01489, allocations: 276 kB / 0.5337 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.01495, allocations: 272 kB / 0.534 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-05/0.01501, allocations: 264.8 kB / 0.5342 GB, free: 3.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.776e-05/0.01507, allocations: 270.8 kB / 0.5345 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.01519, allocations: 463.8 kB / 0.5349 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.01524, allocations: 160.8 kB / 0.5351 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.01531, allocations: 276.1 kB / 0.5354 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.01539, allocations: 153.1 kB / 0.5355 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.01545, allocations: 268.1 kB / 0.5358 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.01549, allocations: 152.9 kB / 0.5359 GB, free: 1.637 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.01558, allocations: 213 kB / 0.5361 GB, free: 1.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01558, allocations: 2.969 kB / 0.5361 GB, free: 1.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01579, allocations: 63.94 kB / 0.5362 GB, free: 1.367 MB / 458.7 MB 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.0002612/0.01605, allocations: 330.6 kB / 0.5365 GB, free: 1.047 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.914e-05/0.01615, allocations: 67.59 kB / 0.5366 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01615, allocations: 2.438 kB / 0.5366 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01615, allocations: 0 / 0.5366 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.01648, allocations: 0.7106 MB / 0.5373 GB, free: 268 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.01696, allocations: 396.5 kB / 0.5376 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.017, allocations: 87.17 kB / 0.5377 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.098e-05/0.01701, allocations: 7.984 kB / 0.5377 GB, free: 15.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.01705, allocations: 70.2 kB / 0.5378 GB, free: 15.66 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01705, allocations: 0 / 0.5378 GB, free: 15.66 MB / 474.7 MB Notification: Performance of Templates: time 0.004168/0.02122, allocations: 2.806 MB / 0.5405 GB, free: 13.02 MB / 474.7 MB " [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.710042070131749]