Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 288.3 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 181 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 105.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004219, allocations: 18.33 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.237, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001448/0.2385, allocations: 1.103 MB / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2406, allocations: 2.25 MB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.2407, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2418, allocations: 0.5499 MB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.385e-05/0.2418, allocations: 23.95 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.377e-06/0.2418, allocations: 0 / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.242, allocations: 127.7 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.2421, allocations: 36.39 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.2421, allocations: 47.69 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.2422, allocations: 71.66 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.2422, allocations: 4 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.2429, allocations: 451.6 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.243, allocations: 31.84 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.243, allocations: 61.58 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2433, allocations: 275.7 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2433, allocations: 0 / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2434, allocations: 3.938 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.2434, allocations: 0 / 0.9843 GB, free: 22.66 MB / 0.6198 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.0006178/0.244, allocations: 0.541 MB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.244, allocations: 12.02 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2442, allocations: 103 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.2443, allocations: 309 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2444, allocations: 154.6 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.2444, allocations: 158.6 kB / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.936e-05/0.2445, allocations: 101 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2445, allocations: 75.28 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2445, allocations: 150.6 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2445, allocations: 162.5 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.2446, allocations: 154.6 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.2448, allocations: 0.5327 MB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.247e-05/0.2448, allocations: 165.1 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2449, allocations: 83.28 kB / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2449, allocations: 109.8 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2449, allocations: 0 / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001494/0.2451, allocations: 49.42 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2451, allocations: 130.7 kB / 0.9872 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.2454, allocations: 429.2 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.2454, allocations: 25.7 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.2455, allocations: 132.5 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.2455, allocations: 4 kB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.2455, allocations: 0 / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.2455, allocations: 338.8 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.2456, allocations: 96.5 kB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2457, allocations: 165.2 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2459, allocations: 127.8 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2459, allocations: 0 / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003752/0.2462, allocations: 328.9 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2463, allocations: 4 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2463, allocations: 7.938 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2463, allocations: 0 / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-06/0.2463, allocations: 7.938 kB / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2463, allocations: 0 / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2464, allocations: 51.5 kB / 0.9888 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2465, allocations: 4 kB / 0.9888 GB, free: 17.78 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.2466, allocations: 243 kB / 0.9891 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.2467, allocations: 132.6 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.2467, allocations: 111 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.2468, allocations: 176.3 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/0.2468, allocations: 188.2 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.2468, allocations: 176.3 kB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.247, allocations: 481.1 kB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.247, allocations: 105 kB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.247, allocations: 101 kB / 0.9905 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.376e-05/0.2471, allocations: 200.2 kB / 0.9907 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.2471, allocations: 176.3 kB / 0.9908 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-05/0.2471, allocations: 188.2 kB / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-05/0.2471, allocations: 176.3 kB / 0.9912 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/0.2472, allocations: 331.3 kB / 0.9915 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.2473, allocations: 201.8 kB / 0.9917 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.2473, allocations: 188.2 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.2474, allocations: 101 kB / 0.992 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.2475, allocations: 180.2 kB / 0.9921 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2475, allocations: 108.9 kB / 0.9922 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001784/0.2477, allocations: 275.1 kB / 0.9925 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2477, allocations: 0 / 0.9925 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003279/0.248, allocations: 91.98 kB / 0.9926 GB, free: 13.71 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.2483, allocations: 310.6 kB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2485, allocations: 163.9 kB / 0.993 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2485, allocations: 0 / 0.993 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.2485, allocations: 7.875 kB / 0.993 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2487, allocations: 0.5289 MB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.2491, allocations: 0.5165 MB / 0.9941 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2494, allocations: 0.7823 MB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.2494, allocations: 4 kB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.2494, allocations: 11.44 kB / 0.9948 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2494, allocations: 0 / 0.9948 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.006115/0.2555, allocations: 3.063 MB / 0.9978 GB, free: 8.273 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)