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.001283/0.001283, allocations: 72.45 kB / 19.02 MB, free: 1.121 MB / 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.001405/0.001405, allocations: 169.5 kB / 22.3 MB, free: 3.523 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 1.42/1.42, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 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.204/1.204, allocations: 154.7 MB / 413.8 MB, free: 3.156 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: "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [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.002108/0.002108, allocations: 69.58 kB / 0.618 GB, free: 1.141 MB / 0.5105 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.205/0.2071, allocations: 102 MB / 0.7176 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002761/0.2098, allocations: 1.415 MB / 0.719 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003512/0.2133, allocations: 2.395 MB / 0.7213 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.2134, allocations: 7.875 kB / 0.7213 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.2153, allocations: 0.5403 MB / 0.7219 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.2153, allocations: 19.91 kB / 0.7219 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.449e-06/0.2153, allocations: 4 kB / 0.7219 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.2156, allocations: 162.9 kB / 0.7221 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.001e-05/0.2157, allocations: 8.594 kB / 0.7221 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2158, allocations: 95.59 kB / 0.7222 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2159, allocations: 79.52 kB / 0.7222 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.216, allocations: 4 kB / 0.7222 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009527/0.2169, allocations: 407.5 kB / 0.7226 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.217, allocations: 35.83 kB / 0.7227 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2171, allocations: 75.56 kB / 0.7227 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.2177, allocations: 434 kB / 0.7231 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2178, allocations: 4 kB / 0.7231 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2178, allocations: 0 / 0.7231 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2178, allocations: 4 kB / 0.7231 GB, free: 5.598 MB / 0.6198 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.0008592/0.2186, allocations: 488.7 kB / 0.7236 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2187, allocations: 8.031 kB / 0.7236 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.508e-05/0.2187, allocations: 114 kB / 0.7237 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.2189, allocations: 104 kB / 0.7238 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2192, allocations: 244.5 kB / 0.7241 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.194e-05/0.2193, allocations: 154.9 kB / 0.7242 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/0.2194, allocations: 154.9 kB / 0.7244 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.822e-05/0.2194, allocations: 113.5 kB / 0.7245 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/0.2195, allocations: 83.22 kB / 0.7245 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.2196, allocations: 150.6 kB / 0.7247 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.2196, allocations: 150.6 kB / 0.7248 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.2197, allocations: 150.6 kB / 0.725 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.2202, allocations: 0.5046 MB / 0.7255 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2203, allocations: 177.1 kB / 0.7256 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.2203, allocations: 80.14 kB / 0.7257 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.2204, allocations: 75.28 kB / 0.7258 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.119e-05/0.2205, allocations: 109.8 kB / 0.7259 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2205, allocations: 0 / 0.7259 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001841/0.2206, allocations: 69.38 kB / 0.726 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.2207, allocations: 126.7 kB / 0.7261 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.2212, allocations: 433.3 kB / 0.7265 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2212, allocations: 29.7 kB / 0.7265 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2213, allocations: 132.6 kB / 0.7266 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.2213, allocations: 0 / 0.7266 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2215, allocations: 93.61 kB / 0.7267 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2216, allocations: 346.7 kB / 0.7271 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2218, allocations: 96.61 kB / 0.7272 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.222, allocations: 165.9 kB / 0.7273 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.2223, allocations: 301.6 kB / 0.7276 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2223, allocations: 4 kB / 0.7276 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005574/0.2229, allocations: 329.1 kB / 0.7279 GB, free: 464 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2229, allocations: 7.938 kB / 0.7279 GB, free: 456 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2229, allocations: 11.98 kB / 0.7279 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2229, allocations: 0 / 0.7279 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-06/0.2229, allocations: 7.938 kB / 0.7279 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2229, allocations: 0 / 0.7279 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.2231, allocations: 47.52 kB / 0.728 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2231, allocations: 4 kB / 0.728 GB, free: 384 kB / 0.6198 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.0002816/0.2234, allocations: 247.5 kB / 0.7282 GB, free: 128 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.2235, allocations: 132.7 kB / 0.7284 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.2236, allocations: 118.7 kB / 0.7285 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.689e-05/0.2237, allocations: 176.3 kB / 0.7286 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000354/0.224, allocations: 188.2 kB / 0.7288 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.419e-05/0.2241, allocations: 176.3 kB / 0.729 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.2245, allocations: 444.2 kB / 0.7294 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.625e-05/0.2245, allocations: 105 kB / 0.7295 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.2246, allocations: 108.9 kB / 0.7296 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-05/0.2247, allocations: 184.1 kB / 0.7298 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.727e-05/0.2248, allocations: 184.5 kB / 0.73 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-05/0.2249, allocations: 192.2 kB / 0.7301 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-05/0.225, allocations: 176.3 kB / 0.7303 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2252, allocations: 331.6 kB / 0.7306 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2253, allocations: 120.8 kB / 0.7307 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2254, allocations: 188.1 kB / 0.7309 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2256, allocations: 105 kB / 0.731 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.2257, allocations: 180.2 kB / 0.7312 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.2257, allocations: 101 kB / 0.7313 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003183/0.226, allocations: 283.1 kB / 0.7316 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.226, allocations: 0 / 0.7316 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004291/0.2265, allocations: 91.86 kB / 0.7317 GB, free: 12.43 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.0007781/0.2272, allocations: 0.9595 MB / 0.7326 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.2275, allocations: 115.9 kB / 0.7327 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2275, allocations: 0 / 0.7327 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.2275, allocations: 0 / 0.7327 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.2279, allocations: 469.3 kB / 0.7331 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.2315, allocations: 2.949 MB / 0.736 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2317, allocations: 168.6 kB / 0.7362 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.2317, allocations: 4 kB / 0.7362 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.2318, allocations: 48.48 kB / 0.7362 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.2318, allocations: 0 / 0.7362 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.2694, allocations: 7.16 MB / 0.7432 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.77, allocations: 11.12 kB / 0.7432 GB, free: 0.5547 MB / 0.6355 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.707314074999886] Failed to read output from testmodel.py, exit status != 0: 11.875682529993355 11.892493175 11.671340542 Calling exit ...