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.001831/0.001831, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0027/0.0027, allocations: 213 kB / 22.25 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.719/1.719, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.317/1.317, allocations: 203.5 MB / 0.5038 GB, free: 4.898 MB / 414.1 MB " [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: 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.00242/0.00242, allocations: 73.45 kB / 0.7183 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6258/0.6282, allocations: 102 MB / 0.8178 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002617/0.6309, allocations: 1.427 MB / 0.8192 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.634, allocations: 2.402 MB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.6341, allocations: 1.312 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.6356, allocations: 0.5404 MB / 0.8221 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.6357, allocations: 21.64 kB / 0.8221 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.6357, allocations: 3.938 kB / 0.8221 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.6359, allocations: 158.7 kB / 0.8223 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.172e-05/0.636, allocations: 12.48 kB / 0.8223 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.6361, allocations: 59.67 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.6362, allocations: 83.52 kB / 0.8224 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.6362, allocations: 3.031 kB / 0.8224 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.6371, allocations: 409 kB / 0.8228 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.6371, allocations: 37.27 kB / 0.8229 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.6372, allocations: 81.45 kB / 0.8229 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.6378, allocations: 436 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6378, allocations: 1.094 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6378, allocations: 0 / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.6378, allocations: 1.688 kB / 0.8233 GB, free: 25.85 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.0007079/0.6385, allocations: 493.3 kB / 0.8238 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6385, allocations: 9.906 kB / 0.8238 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.6387, allocations: 108.8 kB / 0.8239 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.6389, allocations: 242.2 kB / 0.8242 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.6389, allocations: 153.4 kB / 0.8243 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.6389, allocations: 157.4 kB / 0.8245 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.699e-05/0.639, allocations: 107.6 kB / 0.8246 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.639, allocations: 75.47 kB / 0.8246 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.639, allocations: 155.8 kB / 0.8248 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.639, allocations: 152.3 kB / 0.8249 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.639, allocations: 156.1 kB / 0.8251 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.6393, allocations: 0.4903 MB / 0.8256 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.6394, allocations: 174.1 kB / 0.8257 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.6394, allocations: 81.45 kB / 0.8258 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.6394, allocations: 75.94 kB / 0.8259 GB, free: 23.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6394, allocations: 112.5 kB / 0.826 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6394, allocations: 0 / 0.826 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001731/0.6396, allocations: 63.03 kB / 0.826 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.6396, allocations: 128.3 kB / 0.8262 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.6401, allocations: 436.5 kB / 0.8266 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.6401, allocations: 26.41 kB / 0.8266 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.6402, allocations: 130.1 kB / 0.8267 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.6402, allocations: 1.469 kB / 0.8267 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.6402, allocations: 89.17 kB / 0.8268 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.6403, allocations: 340 kB / 0.8271 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.6405, allocations: 99.2 kB / 0.8272 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.6406, allocations: 172.5 kB / 0.8274 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.6409, allocations: 306.3 kB / 0.8277 GB, free: 22.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6409, allocations: 0 / 0.8277 GB, free: 22.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004951/0.6414, allocations: 323.4 kB / 0.828 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6414, allocations: 5.859 kB / 0.828 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6414, allocations: 2.625 kB / 0.828 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6414, allocations: 6.031 kB / 0.828 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-06/0.6414, allocations: 6.688 kB / 0.828 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6414, allocations: 10.61 kB / 0.828 GB, free: 21.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.6416, allocations: 45.14 kB / 0.8281 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.6416, allocations: 4.391 kB / 0.8281 GB, free: 21.89 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.0001845/0.6418, allocations: 248.9 kB / 0.8283 GB, free: 21.69 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.6418, allocations: 128.2 kB / 0.8284 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.6419, allocations: 124.3 kB / 0.8286 GB, free: 21.44 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.6419, allocations: 182.2 kB / 0.8287 GB, free: 21.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.6419, allocations: 182 kB / 0.8289 GB, free: 21.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.6419, allocations: 178.1 kB / 0.8291 GB, free: 20.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.6421, allocations: 423.9 kB / 0.8295 GB, free: 20.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.6421, allocations: 106.8 kB / 0.8296 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.6422, allocations: 102.9 kB / 0.8297 GB, free: 20.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.521e-05/0.6422, allocations: 186 kB / 0.8299 GB, free: 20.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.6422, allocations: 186 kB / 0.83 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-05/0.6422, allocations: 179.3 kB / 0.8302 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-05/0.6423, allocations: 185.9 kB / 0.8304 GB, free: 19.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.545e-05/0.6423, allocations: 328.7 kB / 0.8307 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.6424, allocations: 126.6 kB / 0.8308 GB, free: 19.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.6424, allocations: 187.9 kB / 0.831 GB, free: 18.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6425, allocations: 106.8 kB / 0.8311 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.6426, allocations: 182.3 kB / 0.8313 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.6426, allocations: 106.8 kB / 0.8314 GB, free: 18.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002481/0.6428, allocations: 284.5 kB / 0.8316 GB, free: 18.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6428, allocations: 0 / 0.8316 GB, free: 18.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003841/0.6432, allocations: 86.09 kB / 0.8317 GB, free: 18.35 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.0003101/0.6435, allocations: 299 kB / 0.832 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.6437, allocations: 118.4 kB / 0.8321 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6437, allocations: 3.938 kB / 0.8321 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.6437, allocations: 0 / 0.8321 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.644, allocations: 470.4 kB / 0.8326 GB, free: 17.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.6446, allocations: 0.5039 MB / 0.8331 GB, free: 17.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.6447, allocations: 164 kB / 0.8332 GB, free: 17.24 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.209e-05/0.6447, allocations: 2.75 kB / 0.8332 GB, free: 17.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.6447, allocations: 11.64 kB / 0.8332 GB, free: 17.23 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6447, allocations: 4 kB / 0.8332 GB, free: 17.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.007812/0.6526, allocations: 3.316 MB / 0.8365 GB, free: 16.83 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.194829892367125] Failed to read output from testmodel.py, exit status != 0: 0.6613501347601414 0.6740597650000001 0.033407561 Calling exit ...