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.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.001549/0.001549, allocations: 113 kB / 17.6 MB, free: 4.684 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.001686/0.001686, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.429/1.429, allocations: 225.6 MB / 249.4 MB, free: 3.125 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.002405/0.002405, allocations: 289.8 kB / 304.8 MB, free: 3.492 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.057/1.057, allocations: 180.9 MB / 0.5281 GB, free: 1.902 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 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_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: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 99.84 kB / 0.7283 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5232, allocations: 94.17 MB / 0.8203 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003223/0.5264, allocations: 1.433 MB / 0.8217 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.5309, allocations: 2.713 MB / 0.8243 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.5309, allocations: 1.094 kB / 0.8243 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.5328, allocations: 0.5885 MB / 0.8249 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.5329, allocations: 23.7 kB / 0.8249 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.35e-06/0.5329, allocations: 1.281 kB / 0.8249 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.5332, allocations: 156.8 kB / 0.8251 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.5333, allocations: 10.31 kB / 0.8251 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.5335, allocations: 68.69 kB / 0.8251 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.5337, allocations: 78.14 kB / 0.8252 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.5337, allocations: 6.25 kB / 0.8252 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.5351, allocations: 464.4 kB / 0.8257 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.5352, allocations: 40.2 kB / 0.8257 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.5354, allocations: 102 kB / 0.8258 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.5362, allocations: 439.3 kB / 0.8262 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5362, allocations: 0 / 0.8262 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5362, allocations: 0 / 0.8262 GB, free: 344 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.5362, allocations: 0 / 0.8262 GB, free: 344 kB / 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.001003/0.5372, allocations: 0.551 MB / 0.8268 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5373, allocations: 8.812 kB / 0.8268 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.5374, allocations: 108.1 kB / 0.8269 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.5378, allocations: 308.8 kB / 0.8272 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.5379, allocations: 152.1 kB / 0.8273 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.5379, allocations: 157.6 kB / 0.8275 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.538, allocations: 106.5 kB / 0.8276 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.5381, allocations: 75.47 kB / 0.8276 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.5382, allocations: 163.8 kB / 0.8278 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.987e-05/0.5382, allocations: 150.6 kB / 0.8279 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.5383, allocations: 150.6 kB / 0.8281 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.5388, allocations: 0.5395 MB / 0.8286 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.5389, allocations: 170.5 kB / 0.8288 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.539, allocations: 80.14 kB / 0.8288 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.539, allocations: 79.27 kB / 0.8289 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/0.5391, allocations: 107.2 kB / 0.829 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 4.358e-06/0.5391, allocations: 3.984 kB / 0.829 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0002291/0.5393, allocations: 61.41 kB / 0.8291 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.5394, allocations: 131.8 kB / 0.8292 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.54, allocations: 431.4 kB / 0.8296 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.54, allocations: 27.08 kB / 0.8296 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5401, allocations: 130.2 kB / 0.8298 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-06/0.5401, allocations: 0 / 0.8298 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.5403, allocations: 90.97 kB / 0.8299 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.5404, allocations: 339.6 kB / 0.8302 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5406, allocations: 99.06 kB / 0.8303 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.5408, allocations: 172.4 kB / 0.8304 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.5412, allocations: 304.6 kB / 0.8307 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5412, allocations: 5.438 kB / 0.8307 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005933/0.5418, allocations: 335.6 kB / 0.8311 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5418, allocations: 5.875 kB / 0.8311 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5418, allocations: 5.25 kB / 0.8311 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5418, allocations: 2.406 kB / 0.8311 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-06/0.5419, allocations: 6.047 kB / 0.8311 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5419, allocations: 2.781 kB / 0.8311 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.5421, allocations: 43.89 kB / 0.8311 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.5421, allocations: 7.656 kB / 0.8311 GB, free: 11.86 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.0003154/0.5424, allocations: 239.8 kB / 0.8314 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5425, allocations: 132.1 kB / 0.8315 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.5426, allocations: 122.7 kB / 0.8316 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.582e-05/0.5427, allocations: 181.6 kB / 0.8318 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.5428, allocations: 177.4 kB / 0.8319 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.994e-05/0.5429, allocations: 180.2 kB / 0.8321 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.5433, allocations: 481.1 kB / 0.8326 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.647e-05/0.5433, allocations: 102.2 kB / 0.8327 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.5434, allocations: 110.6 kB / 0.8328 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-05/0.5435, allocations: 180.3 kB / 0.8329 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.938e-05/0.5436, allocations: 181.5 kB / 0.8331 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001055/0.5437, allocations: 185.7 kB / 0.8333 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.85e-05/0.5438, allocations: 177.5 kB / 0.8335 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.544, allocations: 325.5 kB / 0.8338 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.5441, allocations: 201 kB / 0.834 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.5443, allocations: 193.5 kB / 0.8341 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.5444, allocations: 106.1 kB / 0.8342 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.5445, allocations: 185.2 kB / 0.8344 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.5446, allocations: 106.4 kB / 0.8345 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003253/0.5449, allocations: 275.8 kB / 0.8348 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5449, allocations: 0 / 0.8348 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005113/0.5454, allocations: 89.33 kB / 0.8349 GB, free: 8.062 MB / 0.5762 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.0005167/0.5459, allocations: 309.2 kB / 0.8352 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.5462, allocations: 121.3 kB / 0.8353 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5462, allocations: 0 / 0.8353 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/0.5462, allocations: 1.125 kB / 0.8353 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.5467, allocations: 463 kB / 0.8357 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.5475, allocations: 0.505 MB / 0.8362 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.5479, allocations: 0.7744 MB / 0.837 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.5479, allocations: 10.58 kB / 0.837 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.5479, allocations: 9.938 kB / 0.837 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.5479, allocations: 0 / 0.837 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of Templates: time 0.007768/0.5557, allocations: 3.094 MB / 0.84 GB, free: 4.602 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.300216001458466]