Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001595, allocations: 99.36 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.001829/0.001829, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.609/1.609, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.12 kB / 0.9115 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002769/0.3482, allocations: 1.5 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006407/0.3489, allocations: 395.1 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.3489, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.349, allocations: 3.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.349, allocations: 4 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3492, allocations: 8 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.3493, allocations: 23.92 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.3494, allocations: 7.938 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3495, allocations: 19.92 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.3495, allocations: 11.92 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3496, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.3496, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.3496, allocations: 7.984 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.3496, allocations: 7.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.694e-05/0.3497, allocations: 23.91 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3497, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3497, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3497, allocations: 0 / 1.07 GB, free: 8.746 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003988/0.3501, allocations: 335.7 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3502, allocations: 8.031 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3502, allocations: 0.9375 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3503, allocations: 172.3 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3503, allocations: 384 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3504, allocations: 384 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3505, allocations: 53.94 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3505, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3505, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3505, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.3506, allocations: 19.97 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.351, allocations: 248.9 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.3511, allocations: 34.61 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.3511, allocations: 24.84 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3512, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3512, allocations: 30.56 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3512, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002316/0.3514, allocations: 65.67 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3515, allocations: 51.41 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.3516, allocations: 109.8 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3516, allocations: 25.7 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.3516, allocations: 88.12 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3517, allocations: 7.844 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.3517, allocations: 17.66 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3518, allocations: 314.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.3519, allocations: 20.05 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.3519, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.33e-05/0.352, allocations: 29.03 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.352, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001149/0.3521, allocations: 57.59 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3521, allocations: 11.98 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3522, allocations: 4.094 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3522, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.3522, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3523, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3523, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3523, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.64e-05/0.3524, allocations: 121.7 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3524, allocations: 4 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.3524, allocations: 3.531 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3525, allocations: 4 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3525, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3525, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3526, allocations: 157.6 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3526, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.3527, allocations: 11.98 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3527, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3527, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3527, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3527, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.3529, allocations: 155.5 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3529, allocations: 81.02 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3529, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.353, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.3531, allocations: 3.938 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3531, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.3531, allocations: 87.27 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3531, allocations: 4.031 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002421/0.3534, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0001303/0.3535, allocations: 99.19 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3537, allocations: 19.98 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3537, allocations: 3.938 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.3537, allocations: 15.98 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3539, allocations: 12.06 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.3543, allocations: 122.5 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.3545, allocations: 0.6807 MB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.3546, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.3546, allocations: 7.438 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3546, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.002195/0.3568, allocations: 304.2 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)