Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001183, 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.001407/0.001407, allocations: 191.9 kB / 16.25 MB, free: 6.617 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.81 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3034, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002998/0.3065, allocations: 1.479 MB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3094, allocations: 2.639 MB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.3095, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.311, allocations: 0.5483 MB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.311, allocations: 15.91 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.931e-06/0.311, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.3113, allocations: 170.9 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.3113, allocations: 32.41 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.3114, allocations: 55.73 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3116, allocations: 83.58 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3116, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009861/0.3126, allocations: 495.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3126, allocations: 39.81 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.3127, allocations: 91.38 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.3133, allocations: 402.3 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3133, allocations: 0 / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3133, allocations: 4 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3133, allocations: 0 / 1.074 GB, free: 4.719 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.0007882/0.3141, allocations: 0.5529 MB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3141, allocations: 8.031 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.3143, allocations: 99.94 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3146, allocations: 302.3 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.3147, allocations: 154.9 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.3147, allocations: 158.9 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.879e-05/0.3148, allocations: 109.5 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.3149, allocations: 79.47 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.3149, allocations: 158.4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.315, allocations: 158.6 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.173e-05/0.3151, allocations: 150.6 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.3155, allocations: 0.5289 MB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/0.3156, allocations: 177.1 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.3156, allocations: 80.14 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3156, allocations: 79.28 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.3157, allocations: 105.8 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3157, allocations: 0 / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001758/0.3159, allocations: 57.34 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.316, allocations: 126.7 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.3164, allocations: 441.1 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3164, allocations: 33.7 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.3165, allocations: 132.4 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3165, allocations: 4 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.3166, allocations: 89.66 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3168, allocations: 338.8 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.3169, allocations: 100.5 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3171, allocations: 161.3 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3174, allocations: 305.6 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3174, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004968/0.3179, allocations: 329 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3179, allocations: 9.875 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.318, allocations: 3.938 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.318, allocations: 8.219 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.318, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.318, allocations: 7.938 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3181, allocations: 43.28 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3182, allocations: 7.984 kB / 1.078 GB, free: 15.43 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.0002624/0.3184, allocations: 246.7 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.3185, allocations: 116.7 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.3186, allocations: 130.6 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-05/0.3186, allocations: 184.2 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.078e-05/0.3187, allocations: 180.2 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.654e-05/0.3188, allocations: 176.3 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3191, allocations: 473.2 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/0.3191, allocations: 108.9 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.3191, allocations: 101.1 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/0.3192, allocations: 188.3 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.3193, allocations: 188.2 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-05/0.3193, allocations: 180.3 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.953e-05/0.3194, allocations: 180.2 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3196, allocations: 331.4 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.3197, allocations: 201.8 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.3198, allocations: 180.2 kB / 1.081 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3199, allocations: 108.9 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.32, allocations: 184.3 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.32, allocations: 108.9 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002519/0.3203, allocations: 279.1 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3203, allocations: 3.938 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003572/0.3206, allocations: 76 kB / 1.082 GB, free: 11.36 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.0003282/0.321, allocations: 302.3 kB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3212, allocations: 160.2 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3212, allocations: 4.062 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3212, allocations: 0 / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3216, allocations: 465.1 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.3223, allocations: 0.5454 MB / 1.084 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3227, allocations: 0.7782 MB / 1.084 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.3227, allocations: 4 kB / 1.084 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.3228, allocations: 11.44 kB / 1.084 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3228, allocations: 0 / 1.084 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of Templates: time 0.00597/0.3287, allocations: 2.899 MB / 1.087 GB, free: 6.156 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)