Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001322/0.001322, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001814/0.001814, allocations: 218.9 kB / 23 MB, free: 5.004 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.026/1.026, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002394/0.002394, allocations: 64.25 kB / 0.6412 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1848, allocations: 89.17 MB / 0.7283 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002961/0.1877, allocations: 1.425 MB / 0.7297 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.1905, allocations: 1.97 MB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.1905, allocations: 0 / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.1918, allocations: 389.9 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.1918, allocations: 19.91 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.762e-06/0.1918, allocations: 4 kB / 0.732 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.1921, allocations: 127.1 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.1921, allocations: 9.688 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.1922, allocations: 39.86 kB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1924, allocations: 67.64 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1924, allocations: 4 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005874/0.193, allocations: 179.9 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.193, allocations: 35.83 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1931, allocations: 75.61 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.1937, allocations: 287 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1937, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1937, allocations: 8 kB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.1937, allocations: 0 / 0.7328 GB, free: 12.65 MB / 0.5606 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.0007758/0.1945, allocations: 421.2 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1945, allocations: 8.031 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1946, allocations: 106 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.1948, allocations: 100.1 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.195, allocations: 233.1 kB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/0.1951, allocations: 154.9 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.1951, allocations: 158.9 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.1952, allocations: 108.9 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.1953, allocations: 79.22 kB / 0.7341 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.1953, allocations: 154.6 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.1954, allocations: 154.6 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.1954, allocations: 150.6 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1958, allocations: 492.8 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.1959, allocations: 169.1 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.196, allocations: 84.14 kB / 0.7353 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.196, allocations: 79.22 kB / 0.7354 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.1961, allocations: 117.8 kB / 0.7355 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1961, allocations: 0 / 0.7355 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.000179/0.1963, allocations: 45.59 kB / 0.7355 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.1963, allocations: 130.6 kB / 0.7356 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.1967, allocations: 329.6 kB / 0.736 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1967, allocations: 29.7 kB / 0.736 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.1968, allocations: 116.5 kB / 0.7361 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1968, allocations: 0 / 0.7361 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.1969, allocations: 57.69 kB / 0.7362 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1971, allocations: 334.8 kB / 0.7365 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1972, allocations: 63.95 kB / 0.7365 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1973, allocations: 118 kB / 0.7367 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.1976, allocations: 209.8 kB / 0.7369 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1976, allocations: 0 / 0.7369 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004601/0.198, allocations: 237.2 kB / 0.7371 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.198, allocations: 8 kB / 0.7371 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.198, allocations: 4.219 kB / 0.7371 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.1981, allocations: 4 kB / 0.7371 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.1981, allocations: 0 / 0.7371 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1981, allocations: 7.938 kB / 0.7371 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1982, allocations: 23.73 kB / 0.7371 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1982, allocations: 8 kB / 0.7371 GB, free: 8.004 MB / 0.5606 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.0001865/0.1984, allocations: 227 kB / 0.7373 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.1985, allocations: 120.8 kB / 0.7375 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.1985, allocations: 121.7 kB / 0.7376 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.1986, allocations: 176.3 kB / 0.7377 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.564e-05/0.1987, allocations: 192.2 kB / 0.7379 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.506e-05/0.1988, allocations: 176.3 kB / 0.7381 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1991, allocations: 420.2 kB / 0.7385 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/0.1991, allocations: 112.9 kB / 0.7386 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.1992, allocations: 109 kB / 0.7387 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.478e-05/0.1993, allocations: 180.2 kB / 0.7389 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-05/0.1993, allocations: 180.2 kB / 0.7391 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-05/0.1994, allocations: 176.3 kB / 0.7392 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.042e-05/0.1995, allocations: 192.1 kB / 0.7394 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.1997, allocations: 319.6 kB / 0.7397 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.1997, allocations: 121.1 kB / 0.7398 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1998, allocations: 180.3 kB / 0.74 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2, allocations: 109 kB / 0.7401 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.2001, allocations: 188.2 kB / 0.7403 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.2001, allocations: 108.9 kB / 0.7404 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002332/0.2003, allocations: 213.2 kB / 0.7406 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2003, allocations: 0 / 0.7406 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003735/0.2007, allocations: 71.86 kB / 0.7407 GB, free: 4.195 MB / 0.5606 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.0006872/0.2014, allocations: 0.9178 MB / 0.7416 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.2016, allocations: 88.27 kB / 0.7416 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.2016, allocations: 3.938 kB / 0.7416 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2016, allocations: 0 / 0.7416 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.202, allocations: 460.2 kB / 0.7421 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.2049, allocations: 2.448 MB / 0.7445 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.2053, allocations: 0.7392 MB / 0.7452 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.2053, allocations: 4 kB / 0.7452 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.2054, allocations: 35.42 kB / 0.7452 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.2054, allocations: 0 / 0.7452 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.2388, allocations: 4.945 MB / 0.7501 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.42, allocations: 14.98 kB / 0.7501 GB, free: 10.53 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.586825033882633] Failed to read output from testmodel.py, exit status != 0: 11.52643818105571 11.878884886 11.681990613 Calling exit ...