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.0009365/0.0009365, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009373/0.0009373, allocations: 169 kB / 23.02 MB, free: 1.547 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.983/0.983, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7291/0.7291, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.322e-06/1.322e-06, allocations: 0 / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.422e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002108/0.002132, allocations: 1.463 MB / 0.5217 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.004575, allocations: 2.64 MB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.004617, allocations: 0 / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.006126, allocations: 0.5745 MB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.006184, allocations: 15.91 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 2.985e-06/0.006187, allocations: 0 / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.00641, allocations: 172.8 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.006458, allocations: 12.53 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.006544, allocations: 83.8 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.006648, allocations: 55.83 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.006663, allocations: 4 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007135/0.007377, allocations: 417.1 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.007436, allocations: 31.84 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.007527, allocations: 63.8 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.008062, allocations: 426.2 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.008066, allocations: 0 / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008067, allocations: 0 / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.008073, allocations: 4 kB / 0.5261 GB, free: 12.32 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.0006094/0.008683, allocations: 0.5946 MB / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.008722, allocations: 12.03 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.008843, allocations: 148 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.009027, allocations: 291 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.009087, allocations: 247.2 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.009144, allocations: 238.8 kB / 0.5276 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.075e-05/0.009205, allocations: 150.5 kB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.009231, allocations: 119.4 kB / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.009547, allocations: 240 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.0096, allocations: 242.7 kB / 0.5283 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.009655, allocations: 250.3 kB / 0.5285 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.00997, allocations: 0.685 MB / 0.5292 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.01005, allocations: 265.9 kB / 0.5294 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.01009, allocations: 128.7 kB / 0.5296 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.01011, allocations: 123.2 kB / 0.5297 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.01015, allocations: 160.5 kB / 0.5298 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.01015, allocations: 0 / 0.5298 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001312/0.01029, allocations: 63.94 kB / 0.5299 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.01034, allocations: 170.6 kB / 0.5301 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.01065, allocations: 482.4 kB / 0.5305 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.01066, allocations: 25.7 kB / 0.5305 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.01074, allocations: 191.3 kB / 0.5307 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-06/0.01075, allocations: 0 / 0.5307 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.01083, allocations: 127.3 kB / 0.5308 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01096, allocations: 0.5259 MB / 0.5314 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.01101, allocations: 48.58 kB / 0.5314 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.0111, allocations: 145.7 kB / 0.5315 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.01127, allocations: 221.6 kB / 0.5318 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01127, allocations: 4 kB / 0.5318 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003512/0.01162, allocations: 269.1 kB / 0.532 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01164, allocations: 9.031 kB / 0.532 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01165, allocations: 0 / 0.532 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01166, allocations: 4 kB / 0.532 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-06/0.01167, allocations: 4.938 kB / 0.532 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.01168, allocations: 11.92 kB / 0.532 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.01178, allocations: 49.02 kB / 0.5321 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.01178, allocations: 4 kB / 0.5321 GB, free: 5.918 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.0001178/0.0119, allocations: 279.8 kB / 0.5324 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.01196, allocations: 166 kB / 0.5325 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.01201, allocations: 170.7 kB / 0.5327 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/0.01206, allocations: 268.2 kB / 0.5329 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.589e-05/0.01211, allocations: 272.7 kB / 0.5332 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/0.01217, allocations: 268 kB / 0.5335 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.0124, allocations: 0.5866 MB / 0.534 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/0.01243, allocations: 148.8 kB / 0.5342 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.01246, allocations: 150 kB / 0.5343 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.648e-05/0.01252, allocations: 268 kB / 0.5346 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.01258, allocations: 268.1 kB / 0.5348 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.669e-05/0.01264, allocations: 273.5 kB / 0.5351 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003162/0.01295, allocations: 268 kB / 0.5353 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.01308, allocations: 471.7 kB / 0.5358 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.01314, allocations: 172.7 kB / 0.536 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.0132, allocations: 264.7 kB / 0.5362 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.01328, allocations: 149.5 kB / 0.5363 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.01334, allocations: 272.1 kB / 0.5366 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.01338, allocations: 154 kB / 0.5368 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001529/0.01353, allocations: 263.1 kB / 0.537 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01353, allocations: 0 / 0.537 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002931/0.01382, allocations: 91.8 kB / 0.5371 GB, free: 0.6055 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.0003239/0.01415, allocations: 351.2 kB / 0.5374 GB, free: 272 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.01432, allocations: 110.8 kB / 0.5375 GB, free: 160 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01432, allocations: 0 / 0.5375 GB, free: 160 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01432, allocations: 0 / 0.5375 GB, free: 160 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.01466, allocations: 0.7204 MB / 0.5382 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.01532, allocations: 496.4 kB / 0.5387 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01537, allocations: 91.28 kB / 0.5388 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.226e-05/0.01538, allocations: 4 kB / 0.5388 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.0154, allocations: 9.062 kB / 0.5388 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.0154, allocations: 0.9375 kB / 0.5388 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.006554/0.02196, allocations: 4.383 MB / 0.5431 GB, free: 10.58 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.6419100048951805]