Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001394/0.001394, allocations: 192.4 kB / 16.14 MB, free: 6.688 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 61.45 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00334/0.325, allocations: 1.46 MB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.3276, allocations: 1.923 MB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.3276, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.329, allocations: 362.1 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.329, allocations: 15.91 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.3291, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3293, allocations: 143.2 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.3294, allocations: 17.5 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.3295, allocations: 39.81 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3296, allocations: 71.64 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3296, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.3303, allocations: 183.9 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.3304, allocations: 27.89 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3305, allocations: 75.55 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.3312, allocations: 283.1 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3312, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3312, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3312, allocations: 0 / 1.072 GB, free: 6.348 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.0009845/0.3322, allocations: 498.5 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3322, allocations: 12.03 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.3324, allocations: 100 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3328, allocations: 279.4 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.3328, allocations: 150.9 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.3329, allocations: 154.9 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.289e-05/0.333, allocations: 109 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.3331, allocations: 87.27 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.3331, allocations: 150.6 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/0.3332, allocations: 150.6 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.3333, allocations: 154.6 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.3339, allocations: 0.5015 MB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.334, allocations: 181.1 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.3341, allocations: 80.14 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.3341, allocations: 79.22 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.3342, allocations: 109.8 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3342, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0002154/0.3344, allocations: 49.52 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.3345, allocations: 130.7 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.3349, allocations: 322.2 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3349, allocations: 25.7 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.335, allocations: 120.4 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.335, allocations: 0 / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.3351, allocations: 61.69 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3353, allocations: 330.9 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3354, allocations: 71.67 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3355, allocations: 122 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3358, allocations: 213.8 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3358, allocations: 8 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004912/0.3363, allocations: 233.1 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3363, allocations: 4 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3363, allocations: 4 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3364, allocations: 0 / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-06/0.3364, allocations: 4 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3364, allocations: 0 / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3365, allocations: 27.59 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3365, allocations: 7.984 kB / 1.076 GB, free: 1.625 MB / 0.8262 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.0002347/0.3368, allocations: 231.3 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.3368, allocations: 124.7 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.3369, allocations: 117.8 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-05/0.337, allocations: 180.2 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001272/0.3371, allocations: 176.3 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.205e-05/0.3372, allocations: 188.2 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.3375, allocations: 453.2 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.562e-05/0.3375, allocations: 104.9 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.3376, allocations: 108.9 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-05/0.3377, allocations: 176.3 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.3378, allocations: 188.2 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-05/0.3378, allocations: 180.3 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.568e-05/0.3379, allocations: 180.2 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.3381, allocations: 319.6 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3382, allocations: 197.8 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3383, allocations: 188.2 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3385, allocations: 104.9 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.3385, allocations: 180.3 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.3386, allocations: 104.9 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002191/0.3388, allocations: 221.8 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3388, allocations: 0 / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004049/0.3392, allocations: 60 kB / 1.08 GB, free: 13.7 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.000403/0.3397, allocations: 286.8 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3399, allocations: 104.3 kB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3399, allocations: 4.062 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.3399, allocations: 0 / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.3403, allocations: 0.5338 MB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.341, allocations: 426.8 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3413, allocations: 0.7395 MB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.3414, allocations: 0 / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.3414, allocations: 11.44 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.3414, allocations: 0 / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.00595/0.3473, allocations: 2.235 MB / 1.084 GB, free: 9.32 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)