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.001229/0.001229, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001328/0.001328, allocations: 175.6 kB / 25.18 MB, free: 8.918 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.8882/0.8882, allocations: 177.1 MB / 205.6 MB, free: 5.41 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.864/1.864, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.302e-06/1.302e-06, allocations: 0 / 0.7755 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.24e-05, allocations: 6.25 kB / 0.7755 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001955/0.001968, allocations: 1.515 MB / 0.777 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.004267, allocations: 2.644 MB / 0.7796 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.004296, allocations: 0.6875 kB / 0.7796 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.00547, allocations: 0.5815 MB / 0.7801 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.005512, allocations: 24.75 kB / 0.7802 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.454e-06/0.005514, allocations: 0 / 0.7802 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.005698, allocations: 172.2 kB / 0.7803 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.005741, allocations: 18.55 kB / 0.7803 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.005816, allocations: 75.8 kB / 0.7804 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.005903, allocations: 64.48 kB / 0.7805 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.005914, allocations: 0 / 0.7805 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.006517, allocations: 419.7 kB / 0.7809 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.006562, allocations: 43.77 kB / 0.7809 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.006628, allocations: 57.55 kB / 0.781 GB, free: 488 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.007027, allocations: 422.2 kB / 0.7814 GB, free: 64 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.00703, allocations: 7.938 kB / 0.7814 GB, free: 56 kB / 0.7292 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00703, allocations: 0 / 0.7814 GB, free: 56 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.007034, allocations: 0 / 0.7814 GB, free: 56 kB / 0.7292 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.000434/0.007468, allocations: 469.3 kB / 0.7818 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.007498, allocations: 9.344 kB / 0.7818 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.007578, allocations: 88.2 kB / 0.7819 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.007701, allocations: 237.6 kB / 0.7822 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.007739, allocations: 162.8 kB / 0.7823 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.007783, allocations: 150.9 kB / 0.7825 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.121e-05/0.007824, allocations: 105.5 kB / 0.7826 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.007842, allocations: 79.47 kB / 0.7826 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.007875, allocations: 152.2 kB / 0.7828 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.007908, allocations: 154.9 kB / 0.7829 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.007945, allocations: 158.5 kB / 0.7831 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.008101, allocations: 381.7 kB / 0.7834 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.008427, allocations: 173.2 kB / 0.7836 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.008448, allocations: 85.27 kB / 0.7837 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.008465, allocations: 75.28 kB / 0.7838 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.008494, allocations: 105.8 kB / 0.7839 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.008495, allocations: 0.5 kB / 0.7839 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.558e-05/0.00859, allocations: 46.19 kB / 0.7839 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.008629, allocations: 128.3 kB / 0.784 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.008826, allocations: 347 kB / 0.7844 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.008836, allocations: 29.7 kB / 0.7844 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.008882, allocations: 128.5 kB / 0.7845 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.008883, allocations: 0 / 0.7845 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.008939, allocations: 95.03 kB / 0.7846 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.009012, allocations: 338.7 kB / 0.7849 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.009063, allocations: 51.48 kB / 0.785 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.009122, allocations: 97.88 kB / 0.7851 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.009252, allocations: 214.3 kB / 0.7853 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.009253, allocations: 0 / 0.7853 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002576/0.009511, allocations: 249.9 kB / 0.7855 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.009522, allocations: 4.938 kB / 0.7855 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009529, allocations: 4 kB / 0.7855 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.009537, allocations: 0 / 0.7855 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.327e-06/0.00954, allocations: 8.516 kB / 0.7855 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.009544, allocations: 4.625 kB / 0.7855 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.009616, allocations: 47.5 kB / 0.7856 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.009623, allocations: 6.75 kB / 0.7856 GB, free: 11.56 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 8.528e-05/0.009708, allocations: 195.9 kB / 0.7858 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.009749, allocations: 109 kB / 0.7859 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.00979, allocations: 114.8 kB / 0.786 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.009826, allocations: 180.2 kB / 0.7861 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-05/0.009864, allocations: 184.2 kB / 0.7863 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/0.009902, allocations: 187.2 kB / 0.7865 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.01006, allocations: 357.3 kB / 0.7868 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.01008, allocations: 108.9 kB / 0.7869 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.01011, allocations: 101 kB / 0.787 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-05/0.01015, allocations: 184.2 kB / 0.7872 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.01019, allocations: 176.3 kB / 0.7874 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.87e-05/0.01023, allocations: 180.3 kB / 0.7876 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.771e-05/0.01026, allocations: 184.2 kB / 0.7877 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.01036, allocations: 321.2 kB / 0.788 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.0104, allocations: 124.8 kB / 0.7882 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.01045, allocations: 180.3 kB / 0.7883 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.01052, allocations: 112.9 kB / 0.7884 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01056, allocations: 181.8 kB / 0.7886 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.01059, allocations: 104.9 kB / 0.7887 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.845e-05/0.01067, allocations: 120.7 kB / 0.7888 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01067, allocations: 0.8125 kB / 0.7888 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002087/0.01088, allocations: 87.86 kB / 0.7889 GB, free: 7.969 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.0002453/0.01113, allocations: 314.4 kB / 0.7892 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.01123, allocations: 82.92 kB / 0.7893 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.01124, allocations: 0.6562 kB / 0.7893 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01124, allocations: 0 / 0.7893 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01145, allocations: 476 kB / 0.7897 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.01198, allocations: 468.5 kB / 0.7902 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.192e-05/0.01208, allocations: 139.2 kB / 0.7903 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.01212, allocations: 55.38 kB / 0.7904 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.01212, allocations: 0 / 0.7904 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of Templates: time 0.003467/0.01559, allocations: 3.218 MB / 0.7935 GB, free: 3.293 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 > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.478350592777133]