Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5488 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 67.94 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.322, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003396/0.3254, allocations: 1.396 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.328, allocations: 1.936 MB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.3281, allocations: 4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3294, allocations: 385.2 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.3294, allocations: 23.84 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.011e-06/0.3295, allocations: 0 / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.3298, allocations: 123.2 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.3298, allocations: 21.5 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.3299, allocations: 43.8 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3301, allocations: 51.78 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3301, allocations: 7.938 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.3306, allocations: 183.9 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.3307, allocations: 31.89 kB / 0.7875 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3308, allocations: 79.48 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.3313, allocations: 283.1 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3313, allocations: 4 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3313, allocations: 0 / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3313, allocations: 0 / 0.7878 GB, free: 8.941 MB / 0.6075 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.0008819/0.3322, allocations: 498.5 kB / 0.7883 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3323, allocations: 12.03 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.3324, allocations: 96.03 kB / 0.7884 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.3327, allocations: 287.3 kB / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.3328, allocations: 154.9 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.3329, allocations: 154.9 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.333, allocations: 105.1 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3331, allocations: 83.28 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.3331, allocations: 150.6 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/0.3332, allocations: 150.6 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.3333, allocations: 154.5 kB / 0.7896 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3337, allocations: 0.5055 MB / 0.7901 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3338, allocations: 169.1 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.3339, allocations: 80.14 kB / 0.7903 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3339, allocations: 75.28 kB / 0.7904 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/0.334, allocations: 117.7 kB / 0.7905 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.334, allocations: 7.984 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001777/0.3342, allocations: 49.5 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.3343, allocations: 126.7 kB / 0.7907 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.3346, allocations: 318.3 kB / 0.791 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3346, allocations: 29.7 kB / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.3347, allocations: 120.3 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.3347, allocations: 0 / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.3348, allocations: 57.69 kB / 0.7912 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.335, allocations: 338.8 kB / 0.7915 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.335, allocations: 59.97 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3352, allocations: 121.7 kB / 0.7917 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3354, allocations: 213.8 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3354, allocations: 7.938 kB / 0.7919 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004269/0.3359, allocations: 233.2 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3359, allocations: 8 kB / 0.7921 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3359, allocations: 0 / 0.7921 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3359, allocations: 4 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3359, allocations: 0 / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.336, allocations: 7.984 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3361, allocations: 23.59 kB / 0.7921 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.3361, allocations: 4 kB / 0.7921 GB, free: 4.223 MB / 0.6075 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.0003284/0.3364, allocations: 241.1 kB / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.3365, allocations: 116.7 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.3366, allocations: 113.9 kB / 0.7926 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.544e-05/0.3367, allocations: 184.2 kB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001528/0.3369, allocations: 184.2 kB / 0.7929 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.107e-05/0.337, allocations: 184.2 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.3373, allocations: 453.2 kB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.338e-05/0.3374, allocations: 101 kB / 0.7936 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.3374, allocations: 112.9 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.901e-05/0.3375, allocations: 180.3 kB / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.3376, allocations: 180.2 kB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.228e-05/0.3377, allocations: 180.3 kB / 0.7943 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.158e-05/0.3378, allocations: 180.2 kB / 0.7944 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.338, allocations: 319.6 kB / 0.7947 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3381, allocations: 205.7 kB / 0.7949 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3383, allocations: 180.3 kB / 0.7951 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3384, allocations: 105 kB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3385, allocations: 180.2 kB / 0.7954 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.3386, allocations: 113.3 kB / 0.7955 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002138/0.3388, allocations: 213.9 kB / 0.7957 GB, free: 364 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3388, allocations: 0 / 0.7957 GB, free: 364 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000429/0.3393, allocations: 67.98 kB / 0.7958 GB, free: 296 kB / 0.6075 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.000409/0.3397, allocations: 266.5 kB / 0.796 GB, free: 20 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3399, allocations: 104.2 kB / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.34, allocations: 4.062 kB / 0.7961 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.34, allocations: 3.938 kB / 0.7961 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.3404, allocations: 464.2 kB / 0.7966 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.341, allocations: 401.1 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3414, allocations: 0.7392 MB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.3414, allocations: 7.984 kB / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.3414, allocations: 7.438 kB / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3414, allocations: 0 / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.006139/0.3476, allocations: 2.302 MB / 0.7999 GB, free: 11.96 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)