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.001418/0.001418, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001593/0.001593, allocations: 165.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-531:686: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-531:694: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.196/1.196, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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_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.824e-06/1.824e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.556e-05, allocations: 5.781 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002581/0.002607, allocations: 1.409 MB / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.005963, allocations: 2.39 MB / 0.6223 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.006002, allocations: 4 kB / 0.6223 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.007607, allocations: 0.5512 MB / 0.6228 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.007667, allocations: 27.72 kB / 0.6228 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-06/0.007672, allocations: 4 kB / 0.6228 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.007965, allocations: 178.8 kB / 0.623 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.008022, allocations: 8.594 kB / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.008165, allocations: 83.73 kB / 0.6231 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.008322, allocations: 63.83 kB / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.008339, allocations: 0 / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.009365, allocations: 411.4 kB / 0.6236 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.009425, allocations: 35.78 kB / 0.6236 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.009527, allocations: 63.8 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006941/0.01022, allocations: 446.2 kB / 0.6241 GB, free: 14.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.01023, allocations: 3.984 kB / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.103e-06/0.01023, allocations: 0 / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.01023, allocations: 4 kB / 0.6241 GB, free: 14.92 MB / 0.545 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.0008619/0.0111, allocations: 496.7 kB / 0.6246 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.01114, allocations: 8.031 kB / 0.6246 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.01133, allocations: 108 kB / 0.6247 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.01161, allocations: 239.9 kB / 0.6249 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/0.01169, allocations: 150.9 kB / 0.625 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.01178, allocations: 158.9 kB / 0.6252 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.01186, allocations: 105.5 kB / 0.6253 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.01191, allocations: 79.41 kB / 0.6254 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.85e-05/0.01198, allocations: 162.9 kB / 0.6255 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.499e-05/0.01206, allocations: 150.9 kB / 0.6257 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.01213, allocations: 154.5 kB / 0.6258 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.01257, allocations: 493.2 kB / 0.6263 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.01271, allocations: 169.1 kB / 0.6264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.01276, allocations: 88.08 kB / 0.6265 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.0128, allocations: 79.22 kB / 0.6266 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.01286, allocations: 105.8 kB / 0.6267 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.01286, allocations: 0 / 0.6267 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0002227/0.01308, allocations: 57.5 kB / 0.6268 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.01316, allocations: 134.7 kB / 0.6269 GB, free: 11.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.01363, allocations: 437.2 kB / 0.6273 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.01365, allocations: 25.7 kB / 0.6273 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01375, allocations: 140.6 kB / 0.6275 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.01375, allocations: 0 / 0.6275 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.01384, allocations: 85.67 kB / 0.6275 GB, free: 11.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.01405, allocations: 342.8 kB / 0.6279 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01417, allocations: 92.61 kB / 0.628 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.01435, allocations: 169.9 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.01469, allocations: 301.6 kB / 0.6284 GB, free: 10.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01469, allocations: 3.938 kB / 0.6284 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005379/0.01523, allocations: 333.1 kB / 0.6287 GB, free: 9.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01524, allocations: 4 kB / 0.6287 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01525, allocations: 4 kB / 0.6287 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01526, allocations: 0 / 0.6287 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.01527, allocations: 4 kB / 0.6287 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01527, allocations: 0 / 0.6287 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01542, allocations: 55.39 kB / 0.6288 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01543, allocations: 4 kB / 0.6288 GB, free: 9.863 MB / 0.545 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.0002692/0.0157, allocations: 246.2 kB / 0.629 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.0158, allocations: 128.8 kB / 0.6292 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.01587, allocations: 114.9 kB / 0.6293 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.519e-05/0.01597, allocations: 188.3 kB / 0.6294 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/0.01607, allocations: 180.2 kB / 0.6296 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-05/0.01616, allocations: 184.1 kB / 0.6298 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.01649, allocations: 420.8 kB / 0.6302 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-05/0.01654, allocations: 113 kB / 0.6303 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.01659, allocations: 101 kB / 0.6304 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.862e-05/0.01668, allocations: 184.2 kB / 0.6306 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/0.01677, allocations: 180.3 kB / 0.6307 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-05/0.01685, allocations: 184.2 kB / 0.6309 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.333e-05/0.01694, allocations: 180.2 kB / 0.6311 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.01716, allocations: 343.4 kB / 0.6314 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.01724, allocations: 120.8 kB / 0.6315 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.01736, allocations: 180.3 kB / 0.6317 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.01751, allocations: 108.9 kB / 0.6318 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.0176, allocations: 180.3 kB / 0.632 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.01765, allocations: 108.9 kB / 0.6321 GB, free: 6.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000289/0.01794, allocations: 275.1 kB / 0.6323 GB, free: 6.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01794, allocations: 0 / 0.6323 GB, free: 6.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003759/0.01832, allocations: 83.88 kB / 0.6324 GB, free: 5.953 MB / 0.545 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.0003891/0.01871, allocations: 317 kB / 0.6327 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.01891, allocations: 123.9 kB / 0.6328 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01891, allocations: 0 / 0.6328 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.01892, allocations: 0 / 0.6328 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.01935, allocations: 463.1 kB / 0.6333 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/0.02, allocations: 0.491 MB / 0.6338 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.02015, allocations: 160.6 kB / 0.6339 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.02017, allocations: 7.984 kB / 0.6339 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.02019, allocations: 16.48 kB / 0.6339 GB, free: 4.348 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.02019, allocations: 0 / 0.6339 GB, free: 4.348 MB / 0.545 GB Notification: Performance of Templates: time 0.007193/0.02739, allocations: 3.038 MB / 0.6369 GB, free: 1.352 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.706171877682209] Failed to read output from testmodel.py, exit status != 0: 0.03553935885429382 0.049262429 0.036065356 Calling exit ...