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.0009589/0.0009589, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001973, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007242/0.0007242, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009036/0.001628, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9579/0.9579, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08825/1.046, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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-545:108: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-545:116: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.8723/0.8723, allocations: 154.6 MB / 398.5 MB, free: 0.5273 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2431/1.115, allocations: 49.04 MB / 447.6 MB, free: 6.707 MB / 426.7 MB " [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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 448.9 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.723e-05, allocations: 2.969 kB / 448.9 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002454/0.002471, allocations: 1.511 MB / 450.4 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.005802, allocations: 2.672 MB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.005831, allocations: 4 kB / 453 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009063/0.006738, allocations: 0.5772 MB / 453.6 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.006776, allocations: 15.91 kB / 453.6 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.00678, allocations: 0 / 453.6 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.006987, allocations: 174.8 kB / 453.8 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.007038, allocations: 23.39 kB / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.007134, allocations: 87.73 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.007221, allocations: 61.11 kB / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.007232, allocations: 3.938 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.00784, allocations: 423.1 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.007883, allocations: 29.08 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.007967, allocations: 63.56 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.008403, allocations: 410.2 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.008416, allocations: 0 / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008418, allocations: 1.062 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.008433, allocations: 0 / 454.9 MB, free: 15.49 MB / 442.7 MB 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.000607/0.00904, allocations: 0.5774 MB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.009071, allocations: 12.03 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.009167, allocations: 88.92 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.00931, allocations: 236.7 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.009347, allocations: 156.5 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.009384, allocations: 158.9 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.268e-05/0.009427, allocations: 105.5 kB / 456.2 MB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.009446, allocations: 75.47 kB / 456.3 MB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.009482, allocations: 160.4 kB / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.009515, allocations: 150.9 kB / 456.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.009551, allocations: 159.9 kB / 456.7 MB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.00971, allocations: 377.1 kB / 457.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.009774, allocations: 165.8 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.0098, allocations: 89.2 kB / 457.4 MB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.009816, allocations: 75.28 kB / 457.4 MB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.009848, allocations: 109.8 kB / 457.5 MB, free: 12.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.009849, allocations: 0.5938 kB / 457.5 MB, free: 12.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 9.819e-05/0.009947, allocations: 41.69 kB / 457.6 MB, free: 12.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.009996, allocations: 131.9 kB / 457.7 MB, free: 12.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.01021, allocations: 347 kB / 458 MB, free: 12.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.01022, allocations: 25.7 kB / 458.1 MB, free: 12.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.01027, allocations: 129.3 kB / 458.2 MB, free: 12.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.01027, allocations: 0 / 458.2 MB, free: 12.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.01033, allocations: 90.08 kB / 458.3 MB, free: 11.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.0104, allocations: 339.4 kB / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.01046, allocations: 63.39 kB / 458.7 MB, free: 11.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.01052, allocations: 90.52 kB / 458.8 MB, free: 11.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.01066, allocations: 205.5 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01066, allocations: 0.5312 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002717/0.01093, allocations: 253.7 kB / 459.2 MB, free: 10.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01095, allocations: 4.625 kB / 459.2 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01095, allocations: 4 kB / 459.2 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.01096, allocations: 0.9375 kB / 459.2 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-06/0.01097, allocations: 7.938 kB / 459.2 MB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.01097, allocations: 1.688 kB / 459.2 MB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.01106, allocations: 47.52 kB / 459.3 MB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.01107, allocations: 4 kB / 459.3 MB, free: 10.87 MB / 442.7 MB 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.0001177/0.01118, allocations: 208.8 kB / 459.5 MB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.01123, allocations: 112.9 kB / 459.6 MB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.01127, allocations: 110.9 kB / 459.7 MB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/0.01132, allocations: 178.9 kB / 459.9 MB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-05/0.01137, allocations: 180.3 kB / 460.1 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.171e-05/0.01142, allocations: 192.3 kB / 460.2 MB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01159, allocations: 365.3 kB / 460.6 MB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.01162, allocations: 101 kB / 460.7 MB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.01165, allocations: 101.9 kB / 460.8 MB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.0117, allocations: 132.7 kB / 460.9 MB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-05/0.01175, allocations: 178.8 kB / 461.1 MB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.01179, allocations: 184.2 kB / 461.3 MB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.836e-05/0.01184, allocations: 184.2 kB / 461.5 MB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.815e-05/0.01189, allocations: 180.3 kB / 461.6 MB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.01202, allocations: 317 kB / 462 MB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.01207, allocations: 184.2 kB / 462.1 MB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.01214, allocations: 101 kB / 462.2 MB, free: 7.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.01222, allocations: 184.2 kB / 462.4 MB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.01225, allocations: 102.7 kB / 462.5 MB, free: 7.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.01233, allocations: 124.7 kB / 462.6 MB, free: 7.355 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01233, allocations: 0 / 462.6 MB, free: 7.355 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.01255, allocations: 83.88 kB / 462.7 MB, free: 7.273 MB / 442.7 MB 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.0002506/0.01281, allocations: 304 kB / 463 MB, free: 6.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01291, allocations: 80.34 kB / 463.1 MB, free: 6.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.01291, allocations: 4 kB / 463.1 MB, free: 6.906 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.01291, allocations: 3.938 kB / 463.1 MB, free: 6.902 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.0132, allocations: 491.3 kB / 463.6 MB, free: 6.422 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.01511, allocations: 453 kB / 464 MB, free: 5.953 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.01516, allocations: 93.14 kB / 464.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.748e-06/0.01517, allocations: 3.984 kB / 464.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.01521, allocations: 55.38 kB / 464.2 MB, free: 5.785 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01521, allocations: 0 / 464.2 MB, free: 5.785 MB / 442.7 MB Notification: Performance of Templates: time 0.006073/0.02128, allocations: 4.34 MB / 468.5 MB, free: 1.809 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7821985073387623]