Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001365/0.001365, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001481/0.001481, allocations: 223.4 kB / 23 MB, free: 4.914 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002624/0.002624, allocations: 300.2 kB / 313.5 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.216/1.216, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002911/0.002911, allocations: 107.1 kB / 0.7407 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1913, allocations: 95.39 MB / 0.8339 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002759/0.1941, allocations: 1.425 MB / 0.8352 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.1974, allocations: 2.407 MB / 0.8376 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.1974, allocations: 0 / 0.8376 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1989, allocations: 0.5362 MB / 0.8381 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.1989, allocations: 19.84 kB / 0.8381 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/0.1989, allocations: 0 / 0.8381 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1992, allocations: 158.9 kB / 0.8383 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.1992, allocations: 16.58 kB / 0.8383 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.1993, allocations: 63.7 kB / 0.8384 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1995, allocations: 75.59 kB / 0.8384 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1995, allocations: 4 kB / 0.8384 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008533/0.2003, allocations: 407.5 kB / 0.8388 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.2004, allocations: 39.78 kB / 0.8389 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.2005, allocations: 75.55 kB / 0.8389 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.2011, allocations: 442 kB / 0.8394 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2011, allocations: 0 / 0.8394 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2011, allocations: 0 / 0.8394 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2011, allocations: 0 / 0.8394 GB, free: 2.113 MB / 0.5762 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.0008036/0.2019, allocations: 492.7 kB / 0.8398 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2019, allocations: 8.75 kB / 0.8398 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.2021, allocations: 108 kB / 0.8399 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.2024, allocations: 248.5 kB / 0.8402 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.2024, allocations: 150.9 kB / 0.8403 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.2025, allocations: 162.9 kB / 0.8405 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.2026, allocations: 101.5 kB / 0.8406 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.2026, allocations: 83.22 kB / 0.8407 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.2027, allocations: 154.6 kB / 0.8408 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.334e-05/0.2028, allocations: 150.6 kB / 0.841 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.2029, allocations: 154.5 kB / 0.8411 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.2033, allocations: 493.2 kB / 0.8416 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.2034, allocations: 169.1 kB / 0.8417 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.2034, allocations: 84.14 kB / 0.8418 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.2035, allocations: 75.28 kB / 0.8419 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.2035, allocations: 113.8 kB / 0.842 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2035, allocations: 4 kB / 0.842 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001838/0.2037, allocations: 61.44 kB / 0.8421 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.2038, allocations: 130.7 kB / 0.8422 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.2043, allocations: 429.3 kB / 0.8426 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2043, allocations: 29.7 kB / 0.8426 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2044, allocations: 132.6 kB / 0.8427 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2044, allocations: 0 / 0.8427 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2045, allocations: 89.66 kB / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2047, allocations: 346.8 kB / 0.8432 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2048, allocations: 104.6 kB / 0.8433 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.205, allocations: 169.8 kB / 0.8434 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.2053, allocations: 301.7 kB / 0.8437 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2053, allocations: 4 kB / 0.8437 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005233/0.2059, allocations: 329 kB / 0.844 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2059, allocations: 8 kB / 0.844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2059, allocations: 0 / 0.844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2059, allocations: 7.938 kB / 0.844 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2059, allocations: 0 / 0.844 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2059, allocations: 4 kB / 0.844 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.2061, allocations: 47.5 kB / 0.8441 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2061, allocations: 4.219 kB / 0.8441 GB, free: 13.05 MB / 0.5919 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.0002589/0.2063, allocations: 249.7 kB / 0.8443 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.2064, allocations: 124.8 kB / 0.8444 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.2065, allocations: 122.6 kB / 0.8446 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.564e-05/0.2066, allocations: 184.2 kB / 0.8447 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.533e-05/0.2067, allocations: 180.2 kB / 0.8449 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.908e-05/0.2068, allocations: 184.2 kB / 0.8451 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2071, allocations: 420.8 kB / 0.8455 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.2071, allocations: 105 kB / 0.8456 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2072, allocations: 112.9 kB / 0.8457 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.584e-05/0.2073, allocations: 180.3 kB / 0.8459 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.2074, allocations: 180.2 kB / 0.846 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-05/0.2074, allocations: 184.4 kB / 0.8462 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.778e-05/0.2075, allocations: 188.2 kB / 0.8464 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2077, allocations: 327.7 kB / 0.8467 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.2078, allocations: 136.7 kB / 0.8468 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.2079, allocations: 176.3 kB / 0.847 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2081, allocations: 108.9 kB / 0.8471 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.2081, allocations: 180.3 kB / 0.8473 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.2082, allocations: 101 kB / 0.8474 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002963/0.2085, allocations: 287.1 kB / 0.8477 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2085, allocations: 0 / 0.8477 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000384/0.2089, allocations: 83.92 kB / 0.8477 GB, free: 9.125 MB / 0.5919 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.0003803/0.2093, allocations: 307.5 kB / 0.848 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2095, allocations: 119.9 kB / 0.8481 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2095, allocations: 0 / 0.8481 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2095, allocations: 0 / 0.8481 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.2099, allocations: 472.1 kB / 0.8486 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.2106, allocations: 0.5239 MB / 0.8491 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2108, allocations: 166.5 kB / 0.8493 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.2108, allocations: 11.44 kB / 0.8493 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.2108, allocations: 4 kB / 0.8493 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of Templates: time 0.005394/0.2162, allocations: 3.253 MB / 0.8525 GB, free: 4.238 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.453906184062362] Failed to read output from testmodel.py, exit status != 0: 0.22345182904973626 0.239182154 0.035046561000000004 Calling exit ...