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.001117/0.001117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001328/0.001328, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 70.03 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.301, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002632/0.3036, allocations: 1.464 MB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3059, allocations: 1.916 MB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.306, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.307, allocations: 370.1 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.3071, allocations: 23.91 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.3071, allocations: 3.938 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3074, allocations: 123.2 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.3074, allocations: 17.5 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.3075, allocations: 43.86 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3076, allocations: 67.7 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3076, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.3081, allocations: 183.9 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.3082, allocations: 31.84 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.3082, allocations: 71.55 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.3087, allocations: 283.2 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3087, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3087, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3087, allocations: 11.94 kB / 1.072 GB, free: 6.18 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.0006613/0.3094, allocations: 486.6 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3094, allocations: 16.02 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3096, allocations: 92.03 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.3099, allocations: 291.3 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.3099, allocations: 150.9 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.31, allocations: 166.9 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.093e-05/0.3101, allocations: 109.1 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.3101, allocations: 75.28 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.3102, allocations: 150.6 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.3102, allocations: 150.6 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.3103, allocations: 154.6 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.3106, allocations: 0.5132 MB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.3107, allocations: 165.1 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.3108, allocations: 84.14 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3108, allocations: 83.28 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.3109, allocations: 109.8 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3109, allocations: 0 / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001735/0.311, allocations: 53.39 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3111, allocations: 126.7 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3115, allocations: 318.3 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3115, allocations: 29.7 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.3116, allocations: 116.5 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3116, allocations: 0 / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.3116, allocations: 61.69 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3118, allocations: 326.9 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.3118, allocations: 67.73 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.312, allocations: 121.9 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3122, allocations: 221.8 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3122, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004345/0.3127, allocations: 237.1 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3127, allocations: 4 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3127, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3127, allocations: 4 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.3127, allocations: 8.094 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3127, allocations: 8.078 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3129, allocations: 31.58 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3129, allocations: 7.984 kB / 1.077 GB, free: 1.449 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.0002252/0.3131, allocations: 225 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.3132, allocations: 124.7 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.3133, allocations: 109.9 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/0.3134, allocations: 184.3 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-05/0.3134, allocations: 184.2 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.566e-05/0.3135, allocations: 180.3 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.3139, allocations: 449.1 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/0.3139, allocations: 109 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.314, allocations: 112.9 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-05/0.314, allocations: 180.2 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.3141, allocations: 176.3 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.594e-05/0.3142, allocations: 184.2 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.469e-05/0.3143, allocations: 176.3 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3144, allocations: 323.6 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.3145, allocations: 197.8 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.3146, allocations: 188.2 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3148, allocations: 101 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.3148, allocations: 184.2 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.3149, allocations: 109 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001995/0.3151, allocations: 213.9 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3151, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003852/0.3155, allocations: 64 kB / 1.08 GB, free: 13.53 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.000353/0.3159, allocations: 278.7 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.316, allocations: 99.89 kB / 1.08 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3161, allocations: 0 / 1.08 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-06/0.3161, allocations: 4 kB / 1.08 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3165, allocations: 460.6 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.317, allocations: 437 kB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.3173, allocations: 0.7392 MB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.668e-05/0.3173, allocations: 4 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.3174, allocations: 15.36 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3174, allocations: 0 / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.005331/0.3227, allocations: 2.296 MB / 1.084 GB, free: 9.172 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)