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.0008945/0.0008945, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0008783/0.0008783, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.927/0.927, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.001663/0.001663, allocations: 237.2 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.6922/0.6922, allocations: 138.4 MB / 402.2 MB, free: 0.5195 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.004e-05, allocations: 6.25 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003299/0.003329, allocations: 1.463 MB / 463.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.007414, allocations: 2.657 MB / 466.4 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.00745, allocations: 0 / 466.4 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.00937, allocations: 0.5717 MB / 467 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.009447, allocations: 26.09 kB / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.009451, allocations: 0 / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.009728, allocations: 172.2 kB / 467.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.386e-05/0.009792, allocations: 11.36 kB / 467.2 MB, free: 13.74 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.009945, allocations: 84.44 kB / 467.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.01008, allocations: 59.84 kB / 467.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.0101, allocations: 4 kB / 467.3 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008897/0.01099, allocations: 410.2 kB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.01105, allocations: 37.39 kB / 467.8 MB, free: 13.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.01113, allocations: 55.86 kB / 467.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.01177, allocations: 434.2 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.01177, allocations: 3.938 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01177, allocations: 0.6875 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.01178, allocations: 0 / 468.3 MB, free: 12.7 MB / 426.7 MB 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.0006776/0.01246, allocations: 463.4 kB / 468.7 MB, free: 12.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01249, allocations: 12.75 kB / 468.7 MB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01263, allocations: 88.98 kB / 468.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.01285, allocations: 235.8 kB / 469 MB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/0.01293, allocations: 155.4 kB / 469.2 MB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.013, allocations: 161.7 kB / 469.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.01307, allocations: 101.5 kB / 469.5 MB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.01311, allocations: 75.47 kB / 469.5 MB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.01317, allocations: 157.8 kB / 469.7 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.01323, allocations: 150.9 kB / 469.8 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.01328, allocations: 154.5 kB / 470 MB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.01354, allocations: 382.5 kB / 470.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.067e-05/0.01363, allocations: 177.1 kB / 470.5 MB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.01366, allocations: 80.14 kB / 470.6 MB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.01369, allocations: 75.81 kB / 470.7 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.01374, allocations: 105.8 kB / 470.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.01374, allocations: 0.5 kB / 470.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001495/0.01389, allocations: 46.62 kB / 470.8 MB, free: 10.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.01396, allocations: 126.7 kB / 470.9 MB, free: 9.906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.01431, allocations: 352.7 kB / 471.3 MB, free: 9.551 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.01432, allocations: 25.7 kB / 471.3 MB, free: 9.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.01439, allocations: 128.5 kB / 471.4 MB, free: 9.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.01439, allocations: 0 / 471.4 MB, free: 9.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.01448, allocations: 89.58 kB / 471.5 MB, free: 9.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01459, allocations: 343.7 kB / 471.9 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.01468, allocations: 51.48 kB / 471.9 MB, free: 8.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.01476, allocations: 97.88 kB / 472 MB, free: 8.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.01496, allocations: 212.4 kB / 472.2 MB, free: 8.555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01496, allocations: 2.219 kB / 472.2 MB, free: 8.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004029/0.01537, allocations: 249.1 kB / 472.5 MB, free: 8.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01538, allocations: 11.92 kB / 472.5 MB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01539, allocations: 4 kB / 472.5 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01541, allocations: 1.172 kB / 472.5 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-06/0.01541, allocations: 4.594 kB / 472.5 MB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01542, allocations: 0.7031 kB / 472.5 MB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.01556, allocations: 49.73 kB / 472.5 MB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01557, allocations: 1.125 kB / 472.5 MB, free: 8.23 MB / 426.7 MB 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.000122/0.01569, allocations: 203.8 kB / 472.7 MB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.01576, allocations: 109 kB / 472.8 MB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.01581, allocations: 119.9 kB / 473 MB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/0.01587, allocations: 184.3 kB / 473.1 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.924e-05/0.01592, allocations: 176.3 kB / 473.3 MB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/0.01597, allocations: 185.6 kB / 473.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.01621, allocations: 361.3 kB / 473.8 MB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/0.01624, allocations: 104.9 kB / 473.9 MB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.01628, allocations: 101 kB / 474 MB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.254e-05/0.01634, allocations: 184.9 kB / 474.2 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.0164, allocations: 191.5 kB / 474.4 MB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.476e-05/0.01646, allocations: 176.3 kB / 474.6 MB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.531e-05/0.01652, allocations: 188.2 kB / 474.8 MB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.01667, allocations: 315 kB / 475.1 MB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.01674, allocations: 125.8 kB / 475.2 MB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.01682, allocations: 176.3 kB / 475.4 MB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.01695, allocations: 112.9 kB / 475.5 MB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.017, allocations: 181.1 kB / 475.7 MB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.01704, allocations: 104.9 kB / 475.8 MB, free: 4.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.01719, allocations: 121.6 kB / 475.9 MB, free: 4.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01719, allocations: 0 / 475.9 MB, free: 4.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.01757, allocations: 83.88 kB / 476 MB, free: 4.641 MB / 426.7 MB 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.0003735/0.01794, allocations: 309 kB / 476.3 MB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01809, allocations: 79.75 kB / 476.3 MB, free: 4.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.01809, allocations: 4.75 kB / 476.3 MB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.01809, allocations: 0 / 476.3 MB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01843, allocations: 473.7 kB / 476.8 MB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.01911, allocations: 447.3 kB / 477.2 MB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.562e-05/0.01918, allocations: 93.69 kB / 477.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.058e-05/0.01919, allocations: 0 / 477.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.01924, allocations: 56.62 kB / 477.4 MB, free: 3.172 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01924, allocations: 0 / 477.4 MB, free: 3.172 MB / 426.7 MB Notification: Performance of Templates: time 0.008694/0.02794, allocations: 4.371 MB / 481.8 MB, free: 15.12 MB / 442.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5063777044415474]