Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_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_3.0.0_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.0008581/0.0008582, allocations: 91.3 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.008275/0.008275, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 13.72 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001587/0.3179, allocations: 1.129 MB / 1.075 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.32, allocations: 1.881 MB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.3201, allocations: 0 / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009222/0.321, allocations: 362.1 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.3211, allocations: 19.91 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.976e-06/0.3211, allocations: 0 / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.3213, allocations: 143.1 kB / 1.078 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3214, allocations: 21.48 kB / 1.078 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.3214, allocations: 35.88 kB / 1.078 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3216, allocations: 67.7 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3216, allocations: 4 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.322, allocations: 179.9 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.322, allocations: 35.83 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.3221, allocations: 97.31 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.3226, allocations: 283.1 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3226, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3226, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3226, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 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.00068/0.3233, allocations: 486.6 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3233, allocations: 12.03 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.3235, allocations: 95.97 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3237, allocations: 291.3 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.3238, allocations: 150.9 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3239, allocations: 158.9 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.324, allocations: 113.1 kB / 1.08 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3241, allocations: 75.28 kB / 1.08 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.3242, allocations: 154.5 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.3242, allocations: 150.6 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.3243, allocations: 154.6 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.3246, allocations: 0.5094 MB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.3247, allocations: 165.1 kB / 1.081 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.3247, allocations: 80.14 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3248, allocations: 79.22 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.3248, allocations: 125.8 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3248, allocations: 0 / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001746/0.325, allocations: 41.52 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3251, allocations: 126.7 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3254, allocations: 322.4 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3254, allocations: 25.7 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3256, allocations: 120.3 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.3256, allocations: 3.938 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.3256, allocations: 53.69 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3258, allocations: 330.8 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.3259, allocations: 63.73 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.326, allocations: 118 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3262, allocations: 205.9 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3262, allocations: 0 / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003937/0.3266, allocations: 237.2 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3267, allocations: 11.98 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3267, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3267, allocations: 4 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.3267, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3267, allocations: 4 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3268, allocations: 27.53 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3268, allocations: 8.219 kB / 1.083 GB, free: 14.62 MB / 0.8419 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.000203/0.3271, allocations: 235.3 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.3271, allocations: 116.7 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.3272, allocations: 117.8 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.509e-05/0.3273, allocations: 184.2 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.326e-05/0.3273, allocations: 184.3 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-05/0.3274, allocations: 180.2 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.3277, allocations: 449.2 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/0.3277, allocations: 104.9 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.3278, allocations: 112.9 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-05/0.3279, allocations: 180.5 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/0.3279, allocations: 192.2 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.34e-05/0.328, allocations: 180.3 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.919e-05/0.3281, allocations: 184.2 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.3282, allocations: 315.5 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3283, allocations: 205.8 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3285, allocations: 180.3 kB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3286, allocations: 104.9 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.3287, allocations: 180.2 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.3287, allocations: 101 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001939/0.3289, allocations: 213.9 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3289, allocations: 4 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003568/0.3293, allocations: 67.98 kB / 1.086 GB, free: 10.69 MB / 0.8419 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.0003337/0.3296, allocations: 270.4 kB / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.3298, allocations: 103.9 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3298, allocations: 0 / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3298, allocations: 0 / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3302, allocations: 0.528 MB / 1.087 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.3307, allocations: 442.4 kB / 1.087 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3311, allocations: 0.7394 MB / 1.088 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.41e-05/0.3311, allocations: 3.984 kB / 1.088 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.3311, allocations: 11.44 kB / 1.088 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3311, allocations: 0 / 1.088 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.006004/0.3371, allocations: 2.223 MB / 1.09 GB, free: 6.324 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)