Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00135/0.00135, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001629/0.001629, allocations: 210.8 kB / 22.99 MB, free: 4.609 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 0.9752/0.9752, allocations: 149.9 MB / 463.1 MB, free: 10.29 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_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",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.002208/0.002208, allocations: 65.77 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1846, allocations: 89.18 MB / 0.7281 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002843/0.1874, allocations: 1.412 MB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1908, allocations: 2.41 MB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.1908, allocations: 0 / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.1924, allocations: 0.5364 MB / 0.7324 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.1925, allocations: 27.84 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.1925, allocations: 0 / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1927, allocations: 158.9 kB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.1928, allocations: 12.59 kB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1929, allocations: 63.73 kB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1931, allocations: 75.52 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1931, allocations: 4 kB / 0.7327 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.1939, allocations: 407.5 kB / 0.7331 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.194, allocations: 35.83 kB / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.225e-05/0.194, allocations: 83.55 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005982/0.1946, allocations: 437.9 kB / 0.7336 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1946, allocations: 4 kB / 0.7337 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1946, allocations: 0 / 0.7337 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1947, allocations: 0 / 0.7337 GB, free: 11.33 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.0007691/0.1954, allocations: 492.7 kB / 0.7341 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1955, allocations: 8.031 kB / 0.7341 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.1955, allocations: 106 kB / 0.7342 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.1957, allocations: 108 kB / 0.7343 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1959, allocations: 248.6 kB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.196, allocations: 158.9 kB / 0.7347 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.1961, allocations: 150.9 kB / 0.7349 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/0.1961, allocations: 109.5 kB / 0.735 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.1962, allocations: 79.22 kB / 0.735 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.1962, allocations: 150.6 kB / 0.7352 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.1963, allocations: 154.5 kB / 0.7353 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.1964, allocations: 150.6 kB / 0.7355 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.1968, allocations: 0.5007 MB / 0.736 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1969, allocations: 169.1 kB / 0.7361 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.197, allocations: 80.14 kB / 0.7362 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.197, allocations: 87.22 kB / 0.7363 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.1971, allocations: 109.8 kB / 0.7364 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1971, allocations: 0 / 0.7364 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001796/0.1972, allocations: 61.44 kB / 0.7365 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.1973, allocations: 126.7 kB / 0.7366 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.1978, allocations: 437.3 kB / 0.737 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1978, allocations: 25.7 kB / 0.737 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.1979, allocations: 128.6 kB / 0.7371 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1979, allocations: 0 / 0.7371 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.198, allocations: 97.61 kB / 0.7372 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1982, allocations: 350.7 kB / 0.7376 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1983, allocations: 96.55 kB / 0.7377 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1985, allocations: 169.9 kB / 0.7378 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.1989, allocations: 301.7 kB / 0.7381 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1989, allocations: 0 / 0.7381 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005376/0.1994, allocations: 333 kB / 0.7384 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1995, allocations: 7.938 kB / 0.7384 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1995, allocations: 4 kB / 0.7384 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1995, allocations: 0 / 0.7384 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.006e-05/0.1995, allocations: 4 kB / 0.7384 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1995, allocations: 224 / 0.7384 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1996, allocations: 55.52 kB / 0.7385 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1997, allocations: 4 kB / 0.7385 GB, free: 6.113 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.000258/0.1999, allocations: 245 kB / 0.7387 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.2, allocations: 128.7 kB / 0.7389 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.686e-05/0.2001, allocations: 118.8 kB / 0.739 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/0.2002, allocations: 176.3 kB / 0.7391 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.34e-05/0.2002, allocations: 188.2 kB / 0.7393 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.107e-05/0.2003, allocations: 180.2 kB / 0.7395 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.2007, allocations: 436.2 kB / 0.7399 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.923e-05/0.2007, allocations: 121 kB / 0.74 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.2008, allocations: 113 kB / 0.7401 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.391e-05/0.2009, allocations: 180.2 kB / 0.7403 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.201, allocations: 184.2 kB / 0.7405 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.371e-05/0.201, allocations: 176.3 kB / 0.7406 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.302e-05/0.2011, allocations: 180.2 kB / 0.7408 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.2013, allocations: 323.7 kB / 0.7411 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.2014, allocations: 128.7 kB / 0.7412 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.2015, allocations: 184.2 kB / 0.7414 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2017, allocations: 112.9 kB / 0.7415 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.2017, allocations: 176.3 kB / 0.7417 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.2018, allocations: 109 kB / 0.7418 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003008/0.2021, allocations: 279 kB / 0.7421 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2021, allocations: 0 / 0.7421 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003806/0.2025, allocations: 79.94 kB / 0.7421 GB, free: 2.18 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.0007405/0.2032, allocations: 0.9675 MB / 0.7431 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.2034, allocations: 115.9 kB / 0.7432 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2034, allocations: 0 / 0.7432 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.2034, allocations: 3.938 kB / 0.7432 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.2039, allocations: 465.6 kB / 0.7436 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.2072, allocations: 2.946 MB / 0.7465 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.2074, allocations: 160.1 kB / 0.7467 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.2074, allocations: 4 kB / 0.7467 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.2075, allocations: 55.42 kB / 0.7467 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.2075, allocations: 0 / 0.7467 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.2439, allocations: 7.03 MB / 0.7536 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 9.719 kB / 0.7536 GB, free: 6.441 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.825507225934416] Failed to read output from testmodel.py, exit status != 0: 11.770527652930468 12.142663858 11.945289665 Calling exit ...