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.001423/0.001433, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001931/0.001932, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.687/1.687, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.801/1.801, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001407/0.001407, allocations: 67.11 kB / 0.671 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3526, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003358/0.356, allocations: 1.476 MB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.3592, allocations: 2.646 MB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.3592, allocations: 0 / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.3608, allocations: 0.5555 MB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.3609, allocations: 19.84 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.3609, allocations: 0 / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.3612, allocations: 159 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.3613, allocations: 36.39 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.3613, allocations: 55.75 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.3615, allocations: 83.52 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3615, allocations: 4 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009635/0.3625, allocations: 495.2 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3625, allocations: 35.83 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.913e-05/0.3627, allocations: 99.36 kB / 0.7884 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3632, allocations: 402.3 kB / 0.7887 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3632, allocations: 4 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3632, allocations: 0 / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3633, allocations: 0 / 0.7887 GB, free: 7.879 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.0008311/0.3641, allocations: 0.549 MB / 0.7893 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3641, allocations: 8.031 kB / 0.7893 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.3643, allocations: 111.8 kB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.3646, allocations: 298.4 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.3646, allocations: 150.9 kB / 0.7898 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.3647, allocations: 158.9 kB / 0.79 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.46e-05/0.3648, allocations: 109.5 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.3649, allocations: 75.47 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.3649, allocations: 154.5 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.365, allocations: 154.6 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.3651, allocations: 150.6 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3655, allocations: 0.5328 MB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.3656, allocations: 169.1 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.3656, allocations: 84.14 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.3657, allocations: 75.28 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.3658, allocations: 117.8 kB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3658, allocations: 0 / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001848/0.366, allocations: 61.25 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.366, allocations: 130.7 kB / 0.7917 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.3665, allocations: 437.2 kB / 0.7921 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3665, allocations: 25.7 kB / 0.7922 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.3666, allocations: 132.5 kB / 0.7923 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.3666, allocations: 0 / 0.7923 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.3667, allocations: 89.67 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3669, allocations: 342.8 kB / 0.7927 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.367, allocations: 96.52 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.3672, allocations: 165.3 kB / 0.7929 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.3676, allocations: 305.6 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3676, allocations: 0 / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005499/0.3682, allocations: 332.9 kB / 0.7936 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3682, allocations: 4.219 kB / 0.7936 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3682, allocations: 11.94 kB / 0.7936 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3682, allocations: 0 / 0.7936 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-06/0.3682, allocations: 4 kB / 0.7936 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3683, allocations: 3.938 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3684, allocations: 43.38 kB / 0.7936 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3684, allocations: 4 kB / 0.7936 GB, free: 2.598 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.0003053/0.3687, allocations: 245.6 kB / 0.7939 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.3688, allocations: 128.6 kB / 0.794 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.3689, allocations: 122.8 kB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.469e-05/0.369, allocations: 176.3 kB / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-05/0.3691, allocations: 188.2 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-05/0.3692, allocations: 180.3 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.3695, allocations: 481.1 kB / 0.7951 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.3696, allocations: 101 kB / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.3696, allocations: 101 kB / 0.7953 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.534e-05/0.3697, allocations: 180.2 kB / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.3698, allocations: 188.2 kB / 0.7956 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-05/0.3699, allocations: 184.2 kB / 0.7958 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.419e-05/0.37, allocations: 180.3 kB / 0.796 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3702, allocations: 323.5 kB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3703, allocations: 205.7 kB / 0.7965 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3705, allocations: 188.1 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3706, allocations: 101.3 kB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.3707, allocations: 184.2 kB / 0.7969 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.3707, allocations: 109 kB / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002606/0.371, allocations: 279.1 kB / 0.7973 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.371, allocations: 0 / 0.7973 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004341/0.3715, allocations: 76 kB / 0.7974 GB, free: 14.54 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.0004364/0.3719, allocations: 310.4 kB / 0.7977 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.3722, allocations: 164 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3722, allocations: 0 / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3722, allocations: 0 / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3727, allocations: 473.1 kB / 0.7983 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.3735, allocations: 0.538 MB / 0.7988 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3739, allocations: 0.7743 MB / 0.7996 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.3739, allocations: 3.984 kB / 0.7996 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.374, allocations: 11.44 kB / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.374, allocations: 0 / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.006394/0.3804, allocations: 2.901 MB / 0.8024 GB, free: 9.324 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (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)