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.001158/0.001158, allocations: 100.9 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.543/1.543, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.732/1.732, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001456/0.001456, allocations: 75.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2576, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002914/0.2606, allocations: 1.397 MB / 0.7854 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2629, allocations: 1.931 MB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.263, allocations: 0 / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.264, allocations: 385.9 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.2641, allocations: 19.92 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.889e-06/0.2641, allocations: 0 / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.2643, allocations: 123.1 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4592/0.7236, allocations: 20.91 kB / 0.7878 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.7237, allocations: 40.66 kB / 0.7878 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.7239, allocations: 61.78 kB / 0.7879 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.7239, allocations: 2.75 kB / 0.7879 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.7247, allocations: 181.8 kB / 0.7881 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.7248, allocations: 35.55 kB / 0.7881 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.7249, allocations: 71.44 kB / 0.7882 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.7253, allocations: 287.7 kB / 0.7885 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7253, allocations: 0 / 0.7885 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7253, allocations: 0 / 0.7885 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7253, allocations: 2.625 kB / 0.7885 GB, free: 46.04 MB / 0.6544 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.0006147/0.726, allocations: 488.3 kB / 0.7889 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.726, allocations: 10.5 kB / 0.7889 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.7262, allocations: 97.91 kB / 0.789 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.7263, allocations: 291.7 kB / 0.7893 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.7264, allocations: 157.4 kB / 0.7895 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.7264, allocations: 158.5 kB / 0.7896 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.466e-05/0.7265, allocations: 107.9 kB / 0.7897 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.7265, allocations: 75.88 kB / 0.7898 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.7265, allocations: 151.4 kB / 0.7899 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.7265, allocations: 151.3 kB / 0.7901 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.7266, allocations: 153.9 kB / 0.7902 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.7268, allocations: 0.5062 MB / 0.7907 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.7269, allocations: 174.1 kB / 0.7909 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.7269, allocations: 80.98 kB / 0.7909 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.7269, allocations: 78.5 kB / 0.791 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7269, allocations: 115.7 kB / 0.7911 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.7269, allocations: 0 / 0.7911 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001582/0.7271, allocations: 44.02 kB / 0.7912 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.7271, allocations: 128.8 kB / 0.7913 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.7274, allocations: 321.4 kB / 0.7916 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.7274, allocations: 28.27 kB / 0.7916 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.7275, allocations: 120.2 kB / 0.7917 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.7275, allocations: 0 / 0.7917 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.7275, allocations: 61.89 kB / 0.7918 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.7276, allocations: 328.5 kB / 0.7921 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.7277, allocations: 72.05 kB / 0.7922 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.7278, allocations: 115.9 kB / 0.7923 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.728, allocations: 218.6 kB / 0.7925 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.728, allocations: 0 / 0.7925 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003612/0.7283, allocations: 229.7 kB / 0.7927 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7284, allocations: 9.188 kB / 0.7927 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7284, allocations: 5.844 kB / 0.7927 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7284, allocations: 2.469 kB / 0.7927 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-06/0.7284, allocations: 3.312 kB / 0.7927 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7284, allocations: 5.422 kB / 0.7928 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.7286, allocations: 31.44 kB / 0.7928 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.7286, allocations: 5.375 kB / 0.7928 GB, free: 42.48 MB / 0.6544 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.0001692/0.7287, allocations: 229.2 kB / 0.793 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.7288, allocations: 125.1 kB / 0.7931 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.7288, allocations: 110.6 kB / 0.7932 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.7289, allocations: 183.9 kB / 0.7934 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/0.7289, allocations: 180.2 kB / 0.7936 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.7289, allocations: 176.3 kB / 0.7937 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.7291, allocations: 458.1 kB / 0.7942 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.7291, allocations: 101.6 kB / 0.7943 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.7291, allocations: 111.1 kB / 0.7944 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.536e-05/0.7292, allocations: 186.6 kB / 0.7946 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.7292, allocations: 182.4 kB / 0.7947 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.92e-05/0.7292, allocations: 181.2 kB / 0.7949 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.507e-05/0.7293, allocations: 183.8 kB / 0.7951 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.48e-05/0.7293, allocations: 321.6 kB / 0.7954 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.7294, allocations: 200.8 kB / 0.7956 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.7295, allocations: 185.1 kB / 0.7958 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.7296, allocations: 104.6 kB / 0.7959 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.7296, allocations: 181.6 kB / 0.796 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.7296, allocations: 103.8 kB / 0.7961 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001485/0.7298, allocations: 214.5 kB / 0.7963 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.092e-06/0.7298, allocations: 0 / 0.7963 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003404/0.7301, allocations: 65.66 kB / 0.7964 GB, free: 38.96 MB / 0.6544 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.0002737/0.7304, allocations: 277.3 kB / 0.7967 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.7306, allocations: 101.5 kB / 0.7968 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7306, allocations: 448 / 0.7968 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.7306, allocations: 6.406 kB / 0.7968 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.7309, allocations: 464.5 kB / 0.7972 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.7313, allocations: 414 kB / 0.7976 GB, free: 38.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.7315, allocations: 0.7377 MB / 0.7983 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.7315, allocations: 11.69 kB / 0.7983 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7315, allocations: 0 / 0.7983 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.003549/0.735, allocations: 2.336 MB / 0.8006 GB, free: 37.2 MB / 0.6544 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)