Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001522/0.001522, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001666/0.001666, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.281/1.281, allocations: 203.8 MB / 0.5041 GB, free: 4.609 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002191/0.002191, allocations: 63.91 kB / 0.7186 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6298, allocations: 102 MB / 0.8182 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002874/0.6327, allocations: 1.415 MB / 0.8196 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.6359, allocations: 2.406 MB / 0.822 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.636, allocations: 5.969 kB / 0.822 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.6377, allocations: 0.5357 MB / 0.8225 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.6378, allocations: 22.3 kB / 0.8225 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 4.598e-06/0.6378, allocations: 0 / 0.8225 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.6381, allocations: 163.8 kB / 0.8227 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.811e-05/0.6381, allocations: 10.95 kB / 0.8227 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.6382, allocations: 64.7 kB / 0.8228 GB, free: 26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.6384, allocations: 78.31 kB / 0.8228 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.6384, allocations: 4.031 kB / 0.8228 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009737/0.6394, allocations: 403.3 kB / 0.8232 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.6394, allocations: 37.05 kB / 0.8233 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.6395, allocations: 84.48 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.6401, allocations: 436.9 kB / 0.8237 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6401, allocations: 1.375 kB / 0.8238 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6401, allocations: 0 / 0.8238 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.6402, allocations: 0 / 0.8238 GB, free: 25.66 MB / 0.6387 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.0008148/0.641, allocations: 493.3 kB / 0.8242 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.641, allocations: 10.47 kB / 0.8242 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.6412, allocations: 112.8 kB / 0.8243 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.6414, allocations: 246.9 kB / 0.8246 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.6414, allocations: 154.3 kB / 0.8247 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.6414, allocations: 153.7 kB / 0.8249 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.672e-05/0.6415, allocations: 101.5 kB / 0.825 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.6415, allocations: 77.64 kB / 0.825 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.6415, allocations: 154.5 kB / 0.8252 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.6416, allocations: 155.4 kB / 0.8253 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.6416, allocations: 155.5 kB / 0.8255 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.6419, allocations: 493.8 kB / 0.826 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.6419, allocations: 173.7 kB / 0.8261 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.642, allocations: 81.58 kB / 0.8262 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.642, allocations: 75.94 kB / 0.8263 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.642, allocations: 111.3 kB / 0.8264 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 2.355e-06/0.642, allocations: 3.984 kB / 0.8264 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001799/0.6422, allocations: 64.75 kB / 0.8264 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6422, allocations: 131.4 kB / 0.8266 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.6428, allocations: 431.8 kB / 0.827 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6428, allocations: 28.47 kB / 0.827 GB, free: 22.67 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.6429, allocations: 134.1 kB / 0.8271 GB, free: 22.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.6429, allocations: 4 kB / 0.8271 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.643, allocations: 90.28 kB / 0.8272 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.6431, allocations: 339.9 kB / 0.8275 GB, free: 22.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.6432, allocations: 102.6 kB / 0.8276 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.6434, allocations: 168.4 kB / 0.8278 GB, free: 22.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.6438, allocations: 298.3 kB / 0.8281 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6438, allocations: 1.219 kB / 0.8281 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006274/0.6445, allocations: 330.3 kB / 0.8284 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6445, allocations: 6.656 kB / 0.8284 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.6445, allocations: 1.5 kB / 0.8284 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.6445, allocations: 11.59 kB / 0.8284 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-06/0.6445, allocations: 1.031 kB / 0.8284 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6446, allocations: 2.875 kB / 0.8284 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.6448, allocations: 44.91 kB / 0.8285 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.6448, allocations: 5.078 kB / 0.8285 GB, free: 21.71 MB / 0.6387 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.0003424/0.6451, allocations: 247.3 kB / 0.8287 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.6452, allocations: 128.5 kB / 0.8288 GB, free: 21.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.6452, allocations: 117.2 kB / 0.8289 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.511e-05/0.6453, allocations: 189.6 kB / 0.8291 GB, free: 21.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/0.6453, allocations: 182.7 kB / 0.8293 GB, free: 20.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/0.6454, allocations: 181.5 kB / 0.8295 GB, free: 20.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.6457, allocations: 422.4 kB / 0.8299 GB, free: 20.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.6457, allocations: 103.1 kB / 0.83 GB, free: 20.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.6458, allocations: 106.9 kB / 0.8301 GB, free: 20.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.782e-05/0.6458, allocations: 182.2 kB / 0.8303 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.6459, allocations: 183.7 kB / 0.8304 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/0.6459, allocations: 177 kB / 0.8306 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-05/0.646, allocations: 187.2 kB / 0.8308 GB, free: 19.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.6461, allocations: 329.1 kB / 0.8311 GB, free: 19.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.6462, allocations: 126.1 kB / 0.8312 GB, free: 18.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.6463, allocations: 195.5 kB / 0.8314 GB, free: 18.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.6464, allocations: 104.6 kB / 0.8315 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.6465, allocations: 188.7 kB / 0.8317 GB, free: 18.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.6465, allocations: 102.7 kB / 0.8318 GB, free: 18.31 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004271/0.647, allocations: 280.9 kB / 0.832 GB, free: 18.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.647, allocations: 0 / 0.832 GB, free: 18.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006444/0.6476, allocations: 87.05 kB / 0.8321 GB, free: 18.17 MB / 0.6387 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.0006188/0.6482, allocations: 301.7 kB / 0.8324 GB, free: 17.96 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.6486, allocations: 122.4 kB / 0.8325 GB, free: 17.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6486, allocations: 5.438 kB / 0.8325 GB, free: 17.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.6486, allocations: 0 / 0.8325 GB, free: 17.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.649, allocations: 464.4 kB / 0.833 GB, free: 17.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.6499, allocations: 0.5 MB / 0.8335 GB, free: 17.14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6502, allocations: 169 kB / 0.8336 GB, free: 17.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.6502, allocations: 2.125 kB / 0.8336 GB, free: 17.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.6502, allocations: 10.19 kB / 0.8336 GB, free: 17.05 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.6502, allocations: 0 / 0.8336 GB, free: 17.05 MB / 0.6387 GB Notification: Performance of Templates: time 0.01025/0.6605, allocations: 3.324 MB / 0.8369 GB, free: 16.64 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.980506407096982] Failed to read output from testmodel.py, exit status != 0: 0.6691867336630821 0.6843277249999999 0.040717351000000006 Calling exit ...