Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009938/0.009938, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.623/1.623, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.927/1.927, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005533/0.0005531, allocations: 14 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001634/0.2488, allocations: 1.139 MB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.252, allocations: 2.609 MB / 0.7915 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.252, allocations: 3.938 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.2535, allocations: 0.546 MB / 0.7921 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.2535, allocations: 19.91 kB / 0.7921 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-06/0.2535, allocations: 0 / 0.7921 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.2538, allocations: 174.9 kB / 0.7923 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.298e-05/0.2539, allocations: 32.41 kB / 0.7923 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.254, allocations: 59.73 kB / 0.7923 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2541, allocations: 79.53 kB / 0.7924 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2541, allocations: 4 kB / 0.7924 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/0.2551, allocations: 495.2 kB / 0.7929 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.2552, allocations: 35.83 kB / 0.7929 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2553, allocations: 125.1 kB / 0.793 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.2559, allocations: 386.3 kB / 0.7934 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2559, allocations: 0 / 0.7934 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2559, allocations: 0 / 0.7934 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2559, allocations: 8 kB / 0.7934 GB, free: 5.875 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.0007918/0.2567, allocations: 0.5295 MB / 0.7939 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2568, allocations: 12.03 kB / 0.794 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.2569, allocations: 99.94 kB / 0.794 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2572, allocations: 294.4 kB / 0.7943 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.2572, allocations: 162.9 kB / 0.7945 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.2573, allocations: 154.9 kB / 0.7946 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.771e-05/0.2574, allocations: 101.5 kB / 0.7947 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.2574, allocations: 75.47 kB / 0.7948 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.2575, allocations: 162.4 kB / 0.795 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.2576, allocations: 150.6 kB / 0.7951 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.978e-05/0.2576, allocations: 158.6 kB / 0.7952 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.258, allocations: 0.5289 MB / 0.7958 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.2581, allocations: 169.1 kB / 0.7959 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.2582, allocations: 88.08 kB / 0.796 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.2582, allocations: 79.28 kB / 0.7961 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.2583, allocations: 109.8 kB / 0.7962 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.2583, allocations: 0 / 0.7962 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001776/0.2585, allocations: 57.27 kB / 0.7962 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2585, allocations: 126.7 kB / 0.7964 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.259, allocations: 441.1 kB / 0.7968 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.259, allocations: 25.7 kB / 0.7968 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.2591, allocations: 144.4 kB / 0.7969 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.2591, allocations: 0 / 0.7969 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.2592, allocations: 69.66 kB / 0.797 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2593, allocations: 342.8 kB / 0.7973 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.2594, allocations: 96.5 kB / 0.7974 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.2596, allocations: 161.3 kB / 0.7976 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2599, allocations: 305.6 kB / 0.7979 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.26, allocations: 0 / 0.7979 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004915/0.2604, allocations: 332.9 kB / 0.7982 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2605, allocations: 4 kB / 0.7982 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2605, allocations: 7.938 kB / 0.7982 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2605, allocations: 3.984 kB / 0.7982 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-06/0.2605, allocations: 4 kB / 0.7982 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2605, allocations: 4.219 kB / 0.7982 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2607, allocations: 39.38 kB / 0.7983 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2607, allocations: 7.984 kB / 0.7983 GB, free: 0.6328 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.0002329/0.2609, allocations: 248.9 kB / 0.7985 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.261, allocations: 124.6 kB / 0.7986 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.2611, allocations: 122.8 kB / 0.7987 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-05/0.2612, allocations: 184.2 kB / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-05/0.2613, allocations: 180.3 kB / 0.7991 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-05/0.2613, allocations: 180.2 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.2617, allocations: 473.2 kB / 0.7997 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-05/0.2617, allocations: 108.9 kB / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.2617, allocations: 101.1 kB / 0.7999 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.462e-05/0.2618, allocations: 184.3 kB / 0.8001 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.2619, allocations: 188.1 kB / 0.8003 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.221e-05/0.2619, allocations: 188.3 kB / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.314e-05/0.262, allocations: 180.2 kB / 0.8006 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2621, allocations: 323.5 kB / 0.8009 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2622, allocations: 205.7 kB / 0.8011 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/0.2623, allocations: 180.2 kB / 0.8013 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2625, allocations: 112.9 kB / 0.8014 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.2625, allocations: 176.3 kB / 0.8016 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.2626, allocations: 112.9 kB / 0.8017 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003151/0.2629, allocations: 283.1 kB / 0.8019 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2629, allocations: 0 / 0.8019 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003855/0.2633, allocations: 76 kB / 0.802 GB, free: 12.56 MB / 0.6231 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.0003549/0.2636, allocations: 299.4 kB / 0.8023 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.2639, allocations: 163.9 kB / 0.8025 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2639, allocations: 0 / 0.8025 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.2639, allocations: 4.438 kB / 0.8025 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.2643, allocations: 0.5301 MB / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.265, allocations: 0.5516 MB / 0.8035 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2653, allocations: 0.7746 MB / 0.8043 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.718e-05/0.2653, allocations: 4 kB / 0.8043 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.2653, allocations: 7.438 kB / 0.8043 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2654, allocations: 8 kB / 0.8043 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of Templates: time 0.006304/0.2717, allocations: 2.804 MB / 0.807 GB, free: 7.367 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) Environment - environmentSimulation: