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.001504/0.001504, 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.001881/0.001882, allocations: 195 kB / 16.25 MB, free: 6.621 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.686/1.686, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.762/1.762, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001389/0.00139, allocations: 64.52 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3409, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0031/0.344, allocations: 1.455 MB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3466, allocations: 1.923 MB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.3467, allocations: 0 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3479, allocations: 374 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.348, allocations: 15.92 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-06/0.348, allocations: 4 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3483, allocations: 123.2 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.3484, allocations: 21.48 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.3485, allocations: 43.8 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3486, allocations: 63.77 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3487, allocations: 7.875 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.3491, allocations: 179.9 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.3492, allocations: 27.91 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.3493, allocations: 75.55 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.3499, allocations: 291.1 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.3499, allocations: 0 / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.546e-06/0.3499, allocations: 0 / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.3499, allocations: 0 / 0.7873 GB, free: 9.297 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.0009347/0.3508, allocations: 494.5 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3509, allocations: 12.03 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3511, allocations: 96.02 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3514, allocations: 295.3 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.3517, allocations: 150.9 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.3517, allocations: 158.9 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.3519, allocations: 105.1 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.3519, allocations: 75.28 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.352, allocations: 154.5 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.3521, allocations: 158.5 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.3522, allocations: 150.6 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.3528, allocations: 0.5016 MB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.353, allocations: 165.1 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3532, allocations: 84.14 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.3532, allocations: 87.2 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.521e-05/0.3533, allocations: 113.8 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3533, allocations: 0 / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0002834/0.3536, allocations: 41.52 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.3537, allocations: 130.7 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.3544, allocations: 322.3 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3544, allocations: 29.7 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.3545, allocations: 112.4 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.3545, allocations: 3.984 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3547, allocations: 69.61 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3548, allocations: 326.8 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.3549, allocations: 63.95 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3551, allocations: 126.5 kB / 0.7912 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.3553, allocations: 205.9 kB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3553, allocations: 3.938 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004197/0.3557, allocations: 241.1 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3558, allocations: 8 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3558, allocations: 4.219 kB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3558, allocations: 4 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.3558, allocations: 0 / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3558, allocations: 7.938 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.356, allocations: 23.59 kB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.356, allocations: 4 kB / 0.7917 GB, free: 4.578 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.0003163/0.3563, allocations: 233.6 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.3564, allocations: 124.7 kB / 0.792 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.3565, allocations: 113.8 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.269e-05/0.3566, allocations: 184.2 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.031e-05/0.3566, allocations: 176.3 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.088e-05/0.3567, allocations: 180.2 kB / 0.7926 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.3572, allocations: 449.2 kB / 0.7931 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/0.3572, allocations: 105 kB / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.3574, allocations: 116.9 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-05/0.3575, allocations: 180.2 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.3576, allocations: 180.2 kB / 0.7936 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001778/0.3578, allocations: 176.3 kB / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.342e-05/0.3579, allocations: 192.2 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3581, allocations: 315.6 kB / 0.7943 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3583, allocations: 201.7 kB / 0.7945 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.3585, allocations: 188.2 kB / 0.7946 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3586, allocations: 101 kB / 0.7947 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.3588, allocations: 188.2 kB / 0.7949 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.3588, allocations: 101 kB / 0.795 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001933/0.359, allocations: 217.9 kB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3591, allocations: 0 / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004274/0.3595, allocations: 64 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 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.0004112/0.3599, allocations: 270.8 kB / 0.7955 GB, free: 388 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3601, allocations: 99.83 kB / 0.7956 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.3601, allocations: 8 kB / 0.7956 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3601, allocations: 3.938 kB / 0.7956 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.3606, allocations: 466.8 kB / 0.7961 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.3613, allocations: 425.1 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3617, allocations: 0.7431 MB / 0.7972 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.3617, allocations: 8 kB / 0.7972 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.3618, allocations: 15.31 kB / 0.7972 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3618, allocations: 0 / 0.7972 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.005887/0.3677, allocations: 2.291 MB / 0.7995 GB, free: 12.3 MB / 0.6231 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)