Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001386/0.001386, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001603/0.001603, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.002572/0.002572, allocations: 290.4 kB / 313.5 MB, free: 2.816 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.199/1.199, allocations: 180.6 MB / 0.5377 GB, free: 13.09 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [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.002916/0.002916, allocations: 113.2 kB / 0.7408 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1898, allocations: 95.38 MB / 0.8339 GB, free: 8.172 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002794/0.1926, allocations: 1.428 MB / 0.8353 GB, free: 6.727 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1952, allocations: 1.978 MB / 0.8373 GB, free: 4.746 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.1953, allocations: 0 / 0.8373 GB, free: 4.746 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1963, allocations: 394.7 kB / 0.8376 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.1964, allocations: 19.84 kB / 0.8377 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.1964, allocations: 0 / 0.8377 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.1966, allocations: 127.2 kB / 0.8378 GB, free: 4.215 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1967, allocations: 5.688 kB / 0.8378 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.1968, allocations: 43.8 kB / 0.8378 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1969, allocations: 63.7 kB / 0.8379 GB, free: 4.098 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1969, allocations: 4 kB / 0.8379 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.1974, allocations: 183.9 kB / 0.8381 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.1975, allocations: 39.81 kB / 0.8381 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.1976, allocations: 63.62 kB / 0.8382 GB, free: 3.812 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.198, allocations: 294.7 kB / 0.8385 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.198, allocations: 0 / 0.8385 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.873e-06/0.198, allocations: 0 / 0.8385 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1981, allocations: 3.984 kB / 0.8385 GB, free: 3.52 MB / 0.5763 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.0007433/0.1988, allocations: 421.2 kB / 0.8389 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1988, allocations: 12.75 kB / 0.8389 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.199, allocations: 92.12 kB / 0.839 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1992, allocations: 241.1 kB / 0.8392 GB, free: 2.719 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.179e-05/0.1993, allocations: 150.9 kB / 0.8393 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.1994, allocations: 154.9 kB / 0.8395 GB, free: 2.418 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.1995, allocations: 113 kB / 0.8396 GB, free: 2.301 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.1995, allocations: 79.28 kB / 0.8397 GB, free: 2.223 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.1996, allocations: 150.6 kB / 0.8398 GB, free: 2.074 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.1997, allocations: 158.5 kB / 0.84 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.1998, allocations: 158.6 kB / 0.8401 GB, free: 1.762 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.2002, allocations: 484.8 kB / 0.8406 GB, free: 1.246 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.2003, allocations: 173.1 kB / 0.8407 GB, free: 1.066 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.2003, allocations: 80.14 kB / 0.8408 GB, free: 0.9844 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.2004, allocations: 75.28 kB / 0.8409 GB, free: 0.9102 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.2004, allocations: 109.8 kB / 0.841 GB, free: 0.793 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2004, allocations: 4 kB / 0.841 GB, free: 0.7891 MB / 0.5763 GB Notification: Performance of matching and sorting (n=0): time 0.0001868/0.2006, allocations: 53.55 kB / 0.841 GB, free: 0.7305 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.2007, allocations: 130.7 kB / 0.8412 GB, free: 0.5898 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.2011, allocations: 321.6 kB / 0.8415 GB, free: 272 kB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2011, allocations: 33.69 kB / 0.8415 GB, free: 232 kB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.2012, allocations: 116.5 kB / 0.8416 GB, free: 112 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.2012, allocations: 0 / 0.8416 GB, free: 112 kB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.2012, allocations: 65.62 kB / 0.8417 GB, free: 40 kB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2014, allocations: 338.9 kB / 0.842 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.2015, allocations: 63.73 kB / 0.8421 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2017, allocations: 118 kB / 0.8422 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.2019, allocations: 205.8 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2019, allocations: 4 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004388/0.2024, allocations: 237.3 kB / 0.8426 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2024, allocations: 4 kB / 0.8426 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2024, allocations: 4 kB / 0.8426 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2024, allocations: 0 / 0.8426 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-06/0.2024, allocations: 11.98 kB / 0.8426 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2024, allocations: 0 / 0.8426 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2025, allocations: 27.73 kB / 0.8427 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2026, allocations: 4 kB / 0.8427 GB, free: 14.98 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.0002337/0.2028, allocations: 229.9 kB / 0.8429 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.2029, allocations: 124.8 kB / 0.843 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.2029, allocations: 113.7 kB / 0.8431 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.95e-05/0.203, allocations: 184.2 kB / 0.8433 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-05/0.2031, allocations: 176.3 kB / 0.8434 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.497e-05/0.2032, allocations: 188.2 kB / 0.8436 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.2035, allocations: 420.2 kB / 0.844 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.402e-05/0.2036, allocations: 104.9 kB / 0.8441 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.2036, allocations: 108.9 kB / 0.8442 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.809e-05/0.2037, allocations: 184.3 kB / 0.8444 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/0.2038, allocations: 184.2 kB / 0.8446 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.567e-05/0.2039, allocations: 180.3 kB / 0.8448 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.77e-05/0.2039, allocations: 184.2 kB / 0.8449 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.2041, allocations: 315.7 kB / 0.8452 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.2042, allocations: 128.7 kB / 0.8454 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.2043, allocations: 180.3 kB / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2044, allocations: 108.9 kB / 0.8456 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.2045, allocations: 176.3 kB / 0.8458 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.2046, allocations: 101.3 kB / 0.8459 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002161/0.2048, allocations: 221.1 kB / 0.8461 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2048, allocations: 0 / 0.8461 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000371/0.2052, allocations: 71.86 kB / 0.8462 GB, free: 11.18 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.0003315/0.2055, allocations: 270.2 kB / 0.8464 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.2057, allocations: 83.89 kB / 0.8465 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/0.2057, allocations: 0 / 0.8465 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-06/0.2057, allocations: 4 kB / 0.8465 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.2061, allocations: 462.6 kB / 0.847 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.2067, allocations: 423.5 kB / 0.8474 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.2071, allocations: 0.7392 MB / 0.8481 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.2072, allocations: 11.44 kB / 0.8481 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2072, allocations: 0 / 0.8481 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.004642/0.2118, allocations: 2.353 MB / 0.8504 GB, free: 6.793 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.285929987905547] Failed to read output from testmodel.py, exit status != 0: 0.2199065969325602 0.237229818 0.035683239000000005 Calling exit ...