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.001028/0.001028, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001012/0.001012, allocations: 173 kB / 23.49 MB, free: 1.062 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.9633/0.9633, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8173/0.8173, allocations: 154.6 MB / 414.9 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.543e-06/1.543e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.743e-05, allocations: 4.281 kB / 0.5203 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002316/0.002344, allocations: 1.457 MB / 0.5217 GB, free: 1.113 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.005312, allocations: 2.632 MB / 0.5243 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.005346, allocations: 1.781 kB / 0.5243 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.006562, allocations: 0.5469 MB / 0.5248 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.56e-05/0.006608, allocations: 27.83 kB / 0.5249 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 3.516e-06/0.006611, allocations: 0 / 0.5249 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.006858, allocations: 166.8 kB / 0.525 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.006905, allocations: 13.28 kB / 0.525 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.007, allocations: 87.72 kB / 0.5251 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.007114, allocations: 65.3 kB / 0.5252 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.007127, allocations: 0 / 0.5252 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.007841, allocations: 402.7 kB / 0.5256 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.007891, allocations: 35.84 kB / 0.5256 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.007967, allocations: 66.83 kB / 0.5257 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.008524, allocations: 434.1 kB / 0.5261 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.008527, allocations: 0 / 0.5261 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.71e-07/0.008528, allocations: 0 / 0.5261 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.008533, allocations: 0 / 0.5261 GB, free: 12.67 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.0006989/0.009232, allocations: 0.6006 MB / 0.5267 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.00927, allocations: 10.78 kB / 0.5267 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.009426, allocations: 144 kB / 0.5268 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.009633, allocations: 290.5 kB / 0.5271 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.009693, allocations: 242.8 kB / 0.5273 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.009752, allocations: 246.7 kB / 0.5275 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.009812, allocations: 149.4 kB / 0.5277 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.009844, allocations: 123.4 kB / 0.5278 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003194/0.01016, allocations: 238.8 kB / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.01023, allocations: 243.2 kB / 0.5283 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.01028, allocations: 243.6 kB / 0.5285 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.01064, allocations: 0.6889 MB / 0.5292 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.01073, allocations: 269.4 kB / 0.5294 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.01077, allocations: 127.4 kB / 0.5296 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.0108, allocations: 123.2 kB / 0.5297 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.01084, allocations: 153.9 kB / 0.5298 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.01084, allocations: 0 / 0.5298 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001553/0.011, allocations: 53.52 kB / 0.5299 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.01106, allocations: 179.2 kB / 0.53 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.01145, allocations: 478.4 kB / 0.5305 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.01146, allocations: 30.55 kB / 0.5305 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.01156, allocations: 195.3 kB / 0.5307 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.01156, allocations: 0.5 kB / 0.5307 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01167, allocations: 129.2 kB / 0.5308 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.01182, allocations: 0.5235 MB / 0.5313 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.01188, allocations: 44.64 kB / 0.5314 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.01199, allocations: 141.7 kB / 0.5315 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.01221, allocations: 229.5 kB / 0.5317 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01221, allocations: 2.438 kB / 0.5317 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004165/0.01263, allocations: 265.2 kB / 0.532 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01264, allocations: 7.984 kB / 0.532 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01265, allocations: 8 kB / 0.532 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01266, allocations: 0 / 0.532 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.016e-06/0.01267, allocations: 7.938 kB / 0.532 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01267, allocations: 2.406 kB / 0.532 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01279, allocations: 47.45 kB / 0.5321 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.0128, allocations: 4 kB / 0.5321 GB, free: 6.273 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.0001845/0.01299, allocations: 283.8 kB / 0.5323 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.01305, allocations: 172.7 kB / 0.5325 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.0131, allocations: 151.7 kB / 0.5327 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.845e-05/0.01316, allocations: 272.2 kB / 0.5329 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-05/0.01322, allocations: 278.5 kB / 0.5332 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-05/0.01329, allocations: 272 kB / 0.5334 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.01357, allocations: 0.5896 MB / 0.534 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/0.0136, allocations: 144.9 kB / 0.5342 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.01363, allocations: 152.8 kB / 0.5343 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.896e-05/0.01369, allocations: 268.1 kB / 0.5346 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.01375, allocations: 272.1 kB / 0.5348 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.01382, allocations: 271.9 kB / 0.5351 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-05/0.0139, allocations: 264.1 kB / 0.5353 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.01407, allocations: 475.7 kB / 0.5358 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.01413, allocations: 168.7 kB / 0.5359 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.01421, allocations: 272 kB / 0.5362 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01432, allocations: 148.9 kB / 0.5363 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.01445, allocations: 268 kB / 0.5366 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.01448, allocations: 148.9 kB / 0.5367 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001855/0.01467, allocations: 267.1 kB / 0.537 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01467, allocations: 0 / 0.537 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003394/0.01501, allocations: 94.94 kB / 0.5371 GB, free: 0.9531 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.00031/0.01532, allocations: 352 kB / 0.5374 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.01548, allocations: 110.1 kB / 0.5375 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01548, allocations: 4.938 kB / 0.5375 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.01548, allocations: 0 / 0.5375 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.01589, allocations: 0.712 MB / 0.5382 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.01659, allocations: 492.9 kB / 0.5387 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.537e-05/0.01665, allocations: 101 kB / 0.5388 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.568e-06/0.01666, allocations: 0 / 0.5388 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.01668, allocations: 16.44 kB / 0.5388 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.01668, allocations: 0 / 0.5388 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.005788/0.02247, allocations: 3.067 MB / 0.5418 GB, free: 12.24 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: 4.000284587033093]