Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.226/2.226, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 201.2 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 99.7 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 50.94 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3313, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00242/0.3338, allocations: 1.458 MB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3356, allocations: 1.913 MB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.3357, allocations: 4 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.3365, allocations: 369.8 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.3366, allocations: 19.91 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.115e-06/0.3366, allocations: 3.938 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3368, allocations: 143.2 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.3369, allocations: 17.5 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.3369, allocations: 39.81 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.337, allocations: 67.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.337, allocations: 4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.3374, allocations: 179.9 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.3375, allocations: 27.91 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.3376, allocations: 79.53 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.3379, allocations: 285 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3379, allocations: 0 / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.82e-07/0.3379, allocations: 0 / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.338, allocations: 0 / 1.223 GB, free: 112.7 MB / 0.823 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.000603/0.3386, allocations: 498.5 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3386, allocations: 11.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.3388, allocations: 100 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3389, allocations: 283.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.339, allocations: 162.9 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.339, allocations: 154.9 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.223e-05/0.3391, allocations: 105.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3391, allocations: 83.27 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.3391, allocations: 150.6 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3391, allocations: 150.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.3392, allocations: 166.5 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.3394, allocations: 0.5016 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.3394, allocations: 173.1 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.3395, allocations: 80.14 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3395, allocations: 75.28 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3395, allocations: 117.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3395, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 0.0001721/0.3397, allocations: 41.52 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.3397, allocations: 130.6 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.34, allocations: 326.3 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.34, allocations: 25.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3401, allocations: 120.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3401, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.3401, allocations: 57.69 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.3402, allocations: 334.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.3403, allocations: 63.95 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.3403, allocations: 121.9 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3405, allocations: 209.8 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3405, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003203/0.3409, allocations: 237.2 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3409, allocations: 8 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3409, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3409, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-06/0.3409, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3409, allocations: 4.219 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.341, allocations: 35.53 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3411, allocations: 7.984 kB / 1.227 GB, free: 107.9 MB / 0.823 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.0002153/0.3413, allocations: 225.7 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3413, allocations: 120.7 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3414, allocations: 109.9 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.3414, allocations: 184.2 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/0.3414, allocations: 184.3 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.3415, allocations: 180.2 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3417, allocations: 449.1 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.3417, allocations: 105 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.3417, allocations: 112.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.299e-05/0.3418, allocations: 184.3 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.3418, allocations: 180.2 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.501e-05/0.3419, allocations: 176.3 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-05/0.3419, allocations: 180.3 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3422, allocations: 0.8995 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.3422, allocations: 189.9 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.3423, allocations: 188.2 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.3424, allocations: 101 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.3424, allocations: 188.2 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3425, allocations: 108.9 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001356/0.3426, allocations: 213.9 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3426, allocations: 0 / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004292/0.343, allocations: 67.94 kB / 1.231 GB, free: 103.4 MB / 0.823 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.00029/0.3433, allocations: 278.7 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.3435, allocations: 103.9 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3435, allocations: 0 / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3435, allocations: 0 / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3439, allocations: 0.5289 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.3443, allocations: 427 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3445, allocations: 0.7394 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.3445, allocations: 4 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.3445, allocations: 11.44 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.3446, allocations: 4 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004381/0.3489, allocations: 2.271 MB / 1.235 GB, free: 99 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)