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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 118.9 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 198.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 282.9 kB / 303.6 MB, free: 3.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 180.9 MB / 0.5268 GB, free: 2.695 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 104 kB / 0.7259 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.644, allocations: 94.16 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002421/0.6464, allocations: 1.393 MB / 0.8192 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.6486, allocations: 1.952 MB / 0.8211 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.6486, allocations: 0 / 0.8211 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.6497, allocations: 389.2 kB / 0.8215 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.6498, allocations: 19.67 kB / 0.8215 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-06/0.6498, allocations: 0 / 0.8215 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.65, allocations: 124 kB / 0.8216 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.6501, allocations: 26.83 kB / 0.8216 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.6502, allocations: 43.39 kB / 0.8217 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.6503, allocations: 65.09 kB / 0.8218 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.6503, allocations: 2.812 kB / 0.8218 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.6509, allocations: 182.8 kB / 0.8219 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.6509, allocations: 32.23 kB / 0.822 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.651, allocations: 82.83 kB / 0.822 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.6515, allocations: 284.6 kB / 0.8223 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.6515, allocations: 0.5156 kB / 0.8223 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6515, allocations: 0 / 0.8223 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6515, allocations: 0 / 0.8223 GB, free: 4.598 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.0006673/0.6522, allocations: 0.49 MB / 0.8228 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6522, allocations: 10.34 kB / 0.8228 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.6524, allocations: 104.3 kB / 0.8229 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.6526, allocations: 290.1 kB / 0.8232 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.6526, allocations: 154.1 kB / 0.8233 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.6526, allocations: 153.4 kB / 0.8235 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.629e-05/0.6527, allocations: 109.8 kB / 0.8236 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6527, allocations: 75.28 kB / 0.8236 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6527, allocations: 158.6 kB / 0.8238 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.6527, allocations: 153.1 kB / 0.8239 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.6528, allocations: 151.1 kB / 0.8241 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.653, allocations: 0.5053 MB / 0.8246 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.6531, allocations: 173.1 kB / 0.8247 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.6531, allocations: 80.14 kB / 0.8248 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.6531, allocations: 75.8 kB / 0.8249 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6532, allocations: 117.2 kB / 0.825 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.6532, allocations: 0 / 0.825 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001619/0.6533, allocations: 45.69 kB / 0.825 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.6534, allocations: 138.6 kB / 0.8252 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.6537, allocations: 318.7 kB / 0.8255 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.6537, allocations: 25.7 kB / 0.8255 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.6537, allocations: 125.6 kB / 0.8256 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.6538, allocations: 0 / 0.8256 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.6538, allocations: 63.02 kB / 0.8257 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.6539, allocations: 330.9 kB / 0.826 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.654, allocations: 59.69 kB / 0.8261 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.6541, allocations: 122.1 kB / 0.8262 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.6543, allocations: 207.1 kB / 0.8264 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6543, allocations: 0 / 0.8264 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004144/0.6547, allocations: 238.6 kB / 0.8266 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6547, allocations: 9.984 kB / 0.8266 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6547, allocations: 2.469 kB / 0.8266 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6548, allocations: 2.625 kB / 0.8266 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.6548, allocations: 3.484 kB / 0.8266 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6548, allocations: 4.641 kB / 0.8266 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.6549, allocations: 32.86 kB / 0.8267 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.6549, allocations: 11.22 kB / 0.8267 GB, free: 0.6641 MB / 0.5762 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.0001831/0.6551, allocations: 222.7 kB / 0.8269 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.6551, allocations: 121.7 kB / 0.827 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.6552, allocations: 115.3 kB / 0.8271 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/0.6552, allocations: 184.5 kB / 0.8273 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/0.6553, allocations: 180.9 kB / 0.8275 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.059e-05/0.6554, allocations: 177.2 kB / 0.8276 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.6557, allocations: 454 kB / 0.8281 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.153e-05/0.6558, allocations: 109.5 kB / 0.8282 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.6559, allocations: 105.6 kB / 0.8283 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-05/0.6559, allocations: 183.9 kB / 0.8284 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6561, allocations: 177 kB / 0.8286 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.616e-05/0.6561, allocations: 181.5 kB / 0.8288 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.999e-05/0.6562, allocations: 187.6 kB / 0.829 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.6564, allocations: 320.8 kB / 0.8293 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.6566, allocations: 196.7 kB / 0.8295 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6567, allocations: 179.8 kB / 0.8296 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6568, allocations: 109.6 kB / 0.8297 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6569, allocations: 181.5 kB / 0.8299 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.657, allocations: 105.5 kB / 0.83 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002371/0.6572, allocations: 213.7 kB / 0.8302 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6572, allocations: 3.938 kB / 0.8302 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003937/0.6576, allocations: 65.94 kB / 0.8303 GB, free: 13.02 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.0003901/0.658, allocations: 280.5 kB / 0.8305 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.6582, allocations: 81.47 kB / 0.8306 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6582, allocations: 8 kB / 0.8306 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.6582, allocations: 0 / 0.8306 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.6587, allocations: 465.7 kB / 0.8311 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.6593, allocations: 428.6 kB / 0.8315 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.6597, allocations: 0.7393 MB / 0.8322 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.6598, allocations: 10.06 kB / 0.8322 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6598, allocations: 0 / 0.8322 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.005047/0.6648, allocations: 2.345 MB / 0.8345 GB, free: 11.06 MB / 0.5919 GB " [Timeout remaining time 659] 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: 9.079591526882723] Failed to read output from testmodel.py, exit status != 0: 0.6736018029041588 0.6878983949999999 0.033399977000000004 Calling exit ...