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.001694/0.001694, allocations: 82.56 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.001993/0.001993, allocations: 173.8 kB / 22.46 MB, free: 5.352 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.447/1.447, allocations: 177.2 MB / 202.8 MB, free: 9.191 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.187/1.187, allocations: 154.7 MB / 413.9 MB, free: 5.152 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.763e-06/1.763e-06, allocations: 0 / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.372e-05, allocations: 3.312 kB / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002811/0.002845, allocations: 1.421 MB / 0.6201 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.00615, allocations: 2.396 MB / 0.6224 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.006183, allocations: 0 / 0.6224 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.007656, allocations: 0.5399 MB / 0.623 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.007714, allocations: 23.78 kB / 0.623 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.86e-06/0.007718, allocations: 0 / 0.623 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.008013, allocations: 162.9 kB / 0.6231 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.008074, allocations: 12.59 kB / 0.6232 GB, free: 0 / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.008239, allocations: 87.77 kB / 0.6232 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.008376, allocations: 59.84 kB / 0.6233 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.008396, allocations: 4 kB / 0.6233 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009378/0.009334, allocations: 411.3 kB / 0.6237 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.009389, allocations: 31.84 kB / 0.6237 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.009478, allocations: 67.78 kB / 0.6238 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.01011, allocations: 438.3 kB / 0.6242 GB, free: 14.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01011, allocations: 0 / 0.6242 GB, free: 14.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.023e-06/0.01011, allocations: 0 / 0.6242 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.01012, allocations: 0 / 0.6242 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.0008396/0.01096, allocations: 0.4889 MB / 0.6247 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.011, allocations: 8.031 kB / 0.6247 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.01118, allocations: 112 kB / 0.6248 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.01145, allocations: 247.9 kB / 0.625 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.01152, allocations: 154.9 kB / 0.6252 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.01161, allocations: 154.9 kB / 0.6253 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.0117, allocations: 105.5 kB / 0.6254 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/0.01179, allocations: 75.47 kB / 0.6255 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.01186, allocations: 150.9 kB / 0.6256 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.01193, allocations: 150.9 kB / 0.6258 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.01201, allocations: 166.4 kB / 0.626 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.01244, allocations: 489.2 kB / 0.6264 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01257, allocations: 173.1 kB / 0.6266 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.01262, allocations: 84.14 kB / 0.6267 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.01266, allocations: 75.28 kB / 0.6267 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.01279, allocations: 113.8 kB / 0.6268 GB, free: 12.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01279, allocations: 0 / 0.6268 GB, free: 12.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.000183/0.01297, allocations: 53.52 kB / 0.6269 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.01304, allocations: 126.7 kB / 0.627 GB, free: 11.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.01353, allocations: 437.3 kB / 0.6274 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.01356, allocations: 29.7 kB / 0.6275 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.01365, allocations: 132.6 kB / 0.6276 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-06/0.01365, allocations: 0 / 0.6276 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.01377, allocations: 89.67 kB / 0.6277 GB, free: 11.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.01394, allocations: 342.8 kB / 0.628 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.01406, allocations: 100.6 kB / 0.6281 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.01425, allocations: 169.8 kB / 0.6283 GB, free: 10.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.0146, allocations: 301.6 kB / 0.6285 GB, free: 10.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.0146, allocations: 0 / 0.6285 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005263/0.01513, allocations: 329 kB / 0.6289 GB, free: 9.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01514, allocations: 4 kB / 0.6289 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.01515, allocations: 7.984 kB / 0.6289 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01517, allocations: 0 / 0.6289 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.01517, allocations: 4 kB / 0.6289 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01518, allocations: 4.219 kB / 0.6289 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.01532, allocations: 51.45 kB / 0.6289 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.01533, allocations: 4 kB / 0.6289 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.0002725/0.01561, allocations: 245.9 kB / 0.6292 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.0157, allocations: 128.7 kB / 0.6293 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.01576, allocations: 119 kB / 0.6294 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.801e-05/0.01585, allocations: 188.2 kB / 0.6296 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001407/0.01599, allocations: 176.3 kB / 0.6297 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/0.01611, allocations: 184.1 kB / 0.6299 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.01649, allocations: 428.8 kB / 0.6303 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.841e-05/0.01654, allocations: 109 kB / 0.6304 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01666, allocations: 104.9 kB / 0.6305 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.01673, allocations: 180.2 kB / 0.6307 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.01683, allocations: 188.2 kB / 0.6309 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-05/0.01692, allocations: 176.3 kB / 0.6311 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001084/0.01703, allocations: 184.2 kB / 0.6312 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.01721, allocations: 323.6 kB / 0.6315 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.01731, allocations: 132.8 kB / 0.6317 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.01741, allocations: 180.3 kB / 0.6318 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.01757, allocations: 108.9 kB / 0.6319 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.01766, allocations: 184.2 kB / 0.6321 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.01771, allocations: 108.9 kB / 0.6322 GB, free: 6.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002974/0.01801, allocations: 275.1 kB / 0.6325 GB, free: 6.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01801, allocations: 0 / 0.6325 GB, free: 6.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004114/0.01842, allocations: 83.88 kB / 0.6326 GB, free: 5.949 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.0004382/0.01885, allocations: 314.2 kB / 0.6329 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.01907, allocations: 119.9 kB / 0.633 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.01908, allocations: 0 / 0.633 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.01908, allocations: 4.422 kB / 0.633 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.01959, allocations: 469.2 kB / 0.6334 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.02033, allocations: 494.8 kB / 0.6339 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.02049, allocations: 164.1 kB / 0.6341 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.0205, allocations: 8 kB / 0.6341 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.02053, allocations: 12.5 kB / 0.6341 GB, free: 4.344 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.02053, allocations: 0 / 0.6341 GB, free: 4.344 MB / 0.545 GB Notification: Performance of Templates: time 0.007647/0.02817, allocations: 3.026 MB / 0.637 GB, free: 1.359 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.8033824898302555] Failed to read output from testmodel.py, exit status != 0: 0.0372374951839447 0.052851060000000005 0.039043381 Calling exit ...