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.0006222/0.0006222, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008008/0.0008008, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9417/0.9417, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-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 0.6971/0.6971, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 75.88 kB / 0.6195 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5089, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002194/0.5111, allocations: 1.422 MB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.5134, allocations: 2.394 MB / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.5134, allocations: 0 / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.5147, allocations: 0.5404 MB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.5147, allocations: 21.52 kB / 0.7234 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.488e-06/0.5147, allocations: 1.094 kB / 0.7234 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.5149, allocations: 161.7 kB / 0.7235 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.515, allocations: 15.47 kB / 0.7235 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.5151, allocations: 95.59 kB / 0.7236 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.5152, allocations: 78.52 kB / 0.7237 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.5152, allocations: 3.125 kB / 0.7237 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007416/0.516, allocations: 410.8 kB / 0.7241 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.516, allocations: 36.88 kB / 0.7241 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.5161, allocations: 78.34 kB / 0.7242 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.5166, allocations: 437.6 kB / 0.7246 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5166, allocations: 0.5625 kB / 0.7246 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5167, allocations: 5.094 kB / 0.7246 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5167, allocations: 0 / 0.7246 GB, free: 20.38 MB / 0.6355 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.0005507/0.5172, allocations: 492.9 kB / 0.7251 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5173, allocations: 9.25 kB / 0.7251 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/0.5174, allocations: 105.4 kB / 0.7252 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.5175, allocations: 247.8 kB / 0.7254 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5175, allocations: 156.2 kB / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.5175, allocations: 157.5 kB / 0.7257 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.648e-05/0.5176, allocations: 106.7 kB / 0.7258 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.5176, allocations: 75.47 kB / 0.7259 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.5176, allocations: 156.7 kB / 0.7261 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5176, allocations: 155.8 kB / 0.7262 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.5176, allocations: 152.1 kB / 0.7263 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.5179, allocations: 0.4891 MB / 0.7268 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.5179, allocations: 170.2 kB / 0.727 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.5179, allocations: 81.97 kB / 0.7271 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.5179, allocations: 75.28 kB / 0.7271 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.5179, allocations: 108.8 kB / 0.7272 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.5179, allocations: 0 / 0.7272 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001207/0.5181, allocations: 62.7 kB / 0.7273 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.5181, allocations: 128.3 kB / 0.7274 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.5185, allocations: 433.2 kB / 0.7278 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.5185, allocations: 25.7 kB / 0.7279 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.5185, allocations: 143 kB / 0.728 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.5185, allocations: 0 / 0.728 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.5186, allocations: 89.92 kB / 0.7281 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.5186, allocations: 340 kB / 0.7284 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.5187, allocations: 99.17 kB / 0.7285 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.5189, allocations: 168 kB / 0.7287 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5191, allocations: 307.1 kB / 0.729 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5191, allocations: 0 / 0.729 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003911/0.5195, allocations: 327 kB / 0.7293 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5195, allocations: 6.094 kB / 0.7293 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5195, allocations: 6.078 kB / 0.7293 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5195, allocations: 10.62 kB / 0.7293 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.5195, allocations: 1.469 kB / 0.7293 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5195, allocations: 3.641 kB / 0.7293 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5196, allocations: 44.61 kB / 0.7293 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5197, allocations: 5.047 kB / 0.7293 GB, free: 16.42 MB / 0.6355 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.0001736/0.5198, allocations: 241.5 kB / 0.7296 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.5199, allocations: 129.4 kB / 0.7297 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.5199, allocations: 115.3 kB / 0.7298 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5199, allocations: 190 kB / 0.73 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.5199, allocations: 186.2 kB / 0.7302 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.5199, allocations: 182.1 kB / 0.7303 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5201, allocations: 427.8 kB / 0.7307 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.5201, allocations: 102.5 kB / 0.7308 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.5201, allocations: 107.7 kB / 0.7309 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.5201, allocations: 178.1 kB / 0.7311 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.5202, allocations: 178 kB / 0.7313 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-05/0.5202, allocations: 182.1 kB / 0.7315 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/0.5202, allocations: 182.1 kB / 0.7316 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/0.5203, allocations: 329.7 kB / 0.7319 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.5203, allocations: 130.3 kB / 0.7321 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.5203, allocations: 195.6 kB / 0.7323 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.5204, allocations: 102.9 kB / 0.7324 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.5204, allocations: 185.9 kB / 0.7325 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.5204, allocations: 103.1 kB / 0.7326 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002308/0.5207, allocations: 281 kB / 0.7329 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5207, allocations: 0 / 0.7329 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003559/0.521, allocations: 86.64 kB / 0.733 GB, free: 12.89 MB / 0.6355 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.0002963/0.5213, allocations: 305.8 kB / 0.7333 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5215, allocations: 122.5 kB / 0.7334 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5215, allocations: 5.812 kB / 0.7334 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5215, allocations: 0 / 0.7334 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.5217, allocations: 467.2 kB / 0.7338 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.5223, allocations: 0.5024 MB / 0.7343 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.5224, allocations: 167.9 kB / 0.7345 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.5224, allocations: 3.844 kB / 0.7345 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.5224, allocations: 11.06 kB / 0.7345 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.5224, allocations: 0 / 0.7345 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.006063/0.5285, allocations: 3.028 MB / 0.7375 GB, free: 11.37 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.349210481974296] Failed to read output from testmodel.py, exit status != 0: 0.5353457869496197 0.545953026 0.027108603000000002 Calling exit ...