Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.00113/0.00113, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001112/0.001112, allocations: 159.6 kB / 24.95 MB, free: 8.219 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.9282/0.9282, allocations: 177.1 MB / 205.4 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.84/1.84, allocations: 389.6 MB / 0.6361 GB, free: 12.34 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7759 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.603e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002799/0.002825, allocations: 1.527 MB / 0.7774 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.006039, allocations: 2.639 MB / 0.78 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.006071, allocations: 1.281 kB / 0.78 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.007648, allocations: 0.5814 MB / 0.7806 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.368e-05/0.007712, allocations: 29.38 kB / 0.7806 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.007716, allocations: 4 kB / 0.7806 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.007954, allocations: 166.8 kB / 0.7808 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.008014, allocations: 18.55 kB / 0.7808 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.008119, allocations: 80.45 kB / 0.7809 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.008246, allocations: 59.83 kB / 0.7809 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.00826, allocations: 1.312 kB / 0.7809 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.009129, allocations: 422.7 kB / 0.7813 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.009257, allocations: 35.84 kB / 0.7814 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.009354, allocations: 64.45 kB / 0.7814 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.009959, allocations: 426.2 kB / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.009963, allocations: 5.062 kB / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.009965, allocations: 4 kB / 0.7818 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00997, allocations: 0 / 0.7818 GB, free: 15.43 MB / 0.7448 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.0006537/0.01062, allocations: 456.4 kB / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01066, allocations: 13.78 kB / 0.7823 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.01081, allocations: 88.83 kB / 0.7824 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.01099, allocations: 235.9 kB / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.01104, allocations: 164.7 kB / 0.7827 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.01108, allocations: 150.9 kB / 0.7829 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.543e-05/0.01114, allocations: 105.5 kB / 0.783 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.01116, allocations: 75.47 kB / 0.7831 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.01132, allocations: 152.1 kB / 0.7832 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.01136, allocations: 150.9 kB / 0.7834 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.01141, allocations: 162.5 kB / 0.7835 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.01164, allocations: 378.1 kB / 0.7839 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.01171, allocations: 169.1 kB / 0.784 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.01173, allocations: 84.12 kB / 0.7841 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.01176, allocations: 76.55 kB / 0.7842 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.0118, allocations: 113.8 kB / 0.7843 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.0118, allocations: 0 / 0.7843 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001569/0.01196, allocations: 42.66 kB / 0.7843 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.01201, allocations: 130.7 kB / 0.7845 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.01231, allocations: 351 kB / 0.7848 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.01232, allocations: 27.02 kB / 0.7848 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.01238, allocations: 128.5 kB / 0.7849 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.01238, allocations: 0 / 0.7849 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.01253, allocations: 89.58 kB / 0.785 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.01262, allocations: 347.7 kB / 0.7854 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.01268, allocations: 47.48 kB / 0.7854 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.01275, allocations: 103.2 kB / 0.7855 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.0129, allocations: 209.5 kB / 0.7857 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.0129, allocations: 0 / 0.7857 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003019/0.0132, allocations: 250.6 kB / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01322, allocations: 8 kB / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01323, allocations: 0 / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.01324, allocations: 4 kB / 0.7859 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.01324, allocations: 0.9375 kB / 0.7859 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.01324, allocations: 7.984 kB / 0.786 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01335, allocations: 47.5 kB / 0.786 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01336, allocations: 4.875 kB / 0.786 GB, free: 10.95 MB / 0.7448 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.0001031/0.01346, allocations: 200.3 kB / 0.7862 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.01351, allocations: 109.6 kB / 0.7863 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.01355, allocations: 118.8 kB / 0.7864 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/0.01359, allocations: 185.6 kB / 0.7866 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-05/0.01363, allocations: 184.2 kB / 0.7868 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/0.01366, allocations: 176.3 kB / 0.7869 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.01382, allocations: 360.6 kB / 0.7873 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/0.01384, allocations: 104.9 kB / 0.7874 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.01386, allocations: 109 kB / 0.7875 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.842e-05/0.0139, allocations: 184.2 kB / 0.7877 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.01394, allocations: 176.3 kB / 0.7878 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.864e-05/0.01398, allocations: 184.2 kB / 0.788 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.832e-05/0.01402, allocations: 184.2 kB / 0.7882 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.315e-05/0.01411, allocations: 311.7 kB / 0.7885 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.01416, allocations: 128.8 kB / 0.7886 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.01421, allocations: 183.6 kB / 0.7888 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.01428, allocations: 108.9 kB / 0.7889 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.01432, allocations: 180.3 kB / 0.7891 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.01434, allocations: 112.9 kB / 0.7892 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.01443, allocations: 112.7 kB / 0.7893 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01443, allocations: 0 / 0.7893 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002324/0.01466, allocations: 83.92 kB / 0.7893 GB, free: 7.359 MB / 0.7448 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.0002897/0.01495, allocations: 305.4 kB / 0.7896 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.01506, allocations: 82.06 kB / 0.7897 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01506, allocations: 0 / 0.7897 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.01506, allocations: 4.625 kB / 0.7897 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01529, allocations: 475.6 kB / 0.7902 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.0158, allocations: 440.1 kB / 0.7906 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.01585, allocations: 96.47 kB / 0.7907 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.195e-06/0.01585, allocations: 0 / 0.7907 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.01589, allocations: 59.38 kB / 0.7907 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01589, allocations: 0.7188 kB / 0.7907 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of Templates: time 0.005682/0.02158, allocations: 4.353 MB / 0.795 GB, free: 1.629 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.876372282393277]