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.001108/0.001109, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001078/0.001078, allocations: 191 kB / 17.29 MB, free: 5.516 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.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.002525/0.002525, allocations: 67.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3152, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002853/0.3181, allocations: 1.389 MB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4679/0.786, allocations: 1.928 MB / 0.788 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.7862, allocations: 2.5 kB / 0.788 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.7875, allocations: 387.6 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.7876, allocations: 25.02 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.7876, allocations: 2.75 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.7878, allocations: 114.5 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.7879, allocations: 20.06 kB / 0.7885 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.788, allocations: 51.66 kB / 0.7886 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.7881, allocations: 59.36 kB / 0.7886 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.7881, allocations: 2.594 kB / 0.7886 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.7886, allocations: 186.8 kB / 0.7888 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.7886, allocations: 30.61 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.7887, allocations: 70.77 kB / 0.7889 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.7891, allocations: 287.1 kB / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7891, allocations: 6.531 kB / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7892, allocations: 0 / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.7892, allocations: 0.8125 kB / 0.7892 GB, free: 46.38 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.0006751/0.7899, allocations: 495 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.7899, allocations: 7.219 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.7901, allocations: 97.62 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.7903, allocations: 291.8 kB / 0.7901 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.7903, allocations: 156.4 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.7903, allocations: 153.8 kB / 0.7903 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.292e-05/0.7904, allocations: 108.2 kB / 0.7905 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7904, allocations: 75.81 kB / 0.7905 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.7905, allocations: 153.2 kB / 0.7907 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.7905, allocations: 153.8 kB / 0.7908 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.7905, allocations: 152.1 kB / 0.791 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.7908, allocations: 0.5097 MB / 0.7915 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.806e-05/0.7909, allocations: 165.8 kB / 0.7916 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.7909, allocations: 82.95 kB / 0.7917 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.7909, allocations: 80.52 kB / 0.7918 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.791, allocations: 110.8 kB / 0.7919 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.791, allocations: 2.219 kB / 0.7919 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001742/0.7912, allocations: 49.48 kB / 0.7919 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.7912, allocations: 129.8 kB / 0.7921 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.7915, allocations: 324 kB / 0.7924 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.7915, allocations: 28.39 kB / 0.7924 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.7916, allocations: 115.5 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.7916, allocations: 2.781 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.7917, allocations: 63.95 kB / 0.7926 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.7918, allocations: 332 kB / 0.7929 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.7919, allocations: 65.41 kB / 0.7929 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.792, allocations: 121.8 kB / 0.7931 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.7922, allocations: 208.3 kB / 0.7933 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7922, allocations: 0.6875 kB / 0.7933 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004785/0.7927, allocations: 234.9 kB / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7927, allocations: 10.41 kB / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7928, allocations: 0 / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7928, allocations: 2.625 kB / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.7928, allocations: 4.969 kB / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.7928, allocations: 4.312 kB / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.7929, allocations: 32.75 kB / 0.7935 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.7929, allocations: 11.86 kB / 0.7935 GB, free: 42.81 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.0002204/0.7932, allocations: 218 kB / 0.7938 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.7932, allocations: 126 kB / 0.7939 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.7933, allocations: 111.2 kB / 0.794 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-05/0.7933, allocations: 190.6 kB / 0.7942 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/0.7934, allocations: 186.3 kB / 0.7943 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/0.7935, allocations: 179.2 kB / 0.7945 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.7937, allocations: 446.8 kB / 0.7949 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.657e-05/0.7938, allocations: 109.5 kB / 0.795 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.7938, allocations: 107.4 kB / 0.7951 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.344e-05/0.7939, allocations: 187.3 kB / 0.7953 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.7939, allocations: 182.8 kB / 0.7955 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-05/0.794, allocations: 180 kB / 0.7957 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.803e-05/0.7941, allocations: 184.7 kB / 0.7958 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.7942, allocations: 318.1 kB / 0.7961 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.7943, allocations: 201.5 kB / 0.7963 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.7943, allocations: 181.3 kB / 0.7965 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7945, allocations: 101.6 kB / 0.7966 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.7945, allocations: 187.3 kB / 0.7968 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.7945, allocations: 105.2 kB / 0.7969 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001644/0.7947, allocations: 221.9 kB / 0.7971 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7947, allocations: 0 / 0.7971 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003896/0.7951, allocations: 61.09 kB / 0.7972 GB, free: 39.29 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.0003276/0.7954, allocations: 278.3 kB / 0.7974 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.7956, allocations: 100.1 kB / 0.7975 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7956, allocations: 3.656 kB / 0.7975 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.7956, allocations: 3.375 kB / 0.7975 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.796, allocations: 467.6 kB / 0.798 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.7965, allocations: 386.2 kB / 0.7983 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.7967, allocations: 0.7342 MB / 0.7991 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.7968, allocations: 3.406 kB / 0.7991 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.7968, allocations: 10.88 kB / 0.7991 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7968, allocations: 4 kB / 0.7991 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.005025/0.8018, allocations: 2.291 MB / 0.8013 GB, free: 37.53 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)