Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.339/2.339, allocations: 253.2 MB / 260.6 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 177.7 kB / 319.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.6 MB / 0.5708 GB, free: 15.22 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 85.05 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.01e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9393/1.151, allocations: 134.9 MB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004743/1.152, allocations: 96.19 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02983/1.182, allocations: 5.245 MB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/1.182, allocations: 0 / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.171e-05/1.182, allocations: 4 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009059/1.183, allocations: 495.9 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.183, allocations: 12.02 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.183, allocations: 27.84 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/1.184, allocations: 434.5 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.184, allocations: 4 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/1.184, allocations: 4 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001363/1.184, allocations: 35.52 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.184, allocations: 64 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.184, allocations: 0 / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.184, allocations: 3.984 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.184, allocations: 0 / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/1.185, allocations: 480.1 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/1.185, allocations: 43.89 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/1.186, allocations: 16.5 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.186, allocations: 0 / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/1.186, allocations: 42.45 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/1.186, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.000257/1.186, allocations: 80.12 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/1.186, allocations: 51.41 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/1.187, allocations: 487.1 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/1.187, allocations: 25.81 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.187, allocations: 183.1 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/1.187, allocations: 3.906 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/1.187, allocations: 0 / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.187, allocations: 347.8 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/1.187, allocations: 11.86 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/1.187, allocations: 7.562 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/1.187, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.188, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001869/1.188, allocations: 80.94 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.188, allocations: 5.25 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.188, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.188, allocations: 3.953 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/1.188, allocations: 15.98 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.188, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/1.188, allocations: 4 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/1.188, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/1.188, allocations: 104.9 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/1.188, allocations: 35.61 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/1.189, allocations: 87.19 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.189, allocations: 0 / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.189, allocations: 15.95 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.189, allocations: 240 / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/1.189, allocations: 280 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.189, allocations: 0 / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/1.189, allocations: 8 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.189, allocations: 3.984 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/1.189, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.189, allocations: 3.984 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.189, allocations: 0 / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/1.189, allocations: 185.7 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/1.19, allocations: 125.5 kB / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/1.19, allocations: 7.984 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/1.19, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.19, allocations: 4 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/1.19, allocations: 3.75 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006946/1.191, allocations: 383.7 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.7e-07/1.191, allocations: 7.875 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003969/1.191, allocations: 43.47 kB / 1.03 GB, free: 10.18 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000907/1.192, allocations: 298.8 kB / 1.03 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.192, allocations: 23.23 kB / 1.03 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.192, allocations: 0 / 1.03 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/1.192, allocations: 11.56 kB / 1.03 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/1.193, allocations: 36.7 kB / 1.03 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.194, allocations: 399.4 kB / 1.03 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/1.194, allocations: 0.7928 MB / 1.031 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002248/1.194, allocations: 61.97 kB / 1.031 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/1.195, allocations: 22.56 kB / 1.031 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.195, allocations: 0 / 1.031 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of Templates: time 0.009199/1.204, allocations: 2.162 MB / 1.033 GB, free: 6.543 MB / 0.6511 GB