Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.01/2.01, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 187.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 114.8 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 53.67 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2308, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002096/0.2329, allocations: 1.475 MB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.2333, allocations: 396 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.2334, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.2334, allocations: 7.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.2334, allocations: 3.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.2336, allocations: 8 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.771e-05/0.2336, allocations: 19.92 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.2337, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.2338, allocations: 19.91 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.2338, allocations: 7.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2338, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-06/0.2338, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.2339, allocations: 7.984 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.2339, allocations: 11.88 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 5.513e-05/0.2339, allocations: 15.97 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.234, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.31e-07/0.234, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.424e-06/0.234, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 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.0002611/0.2342, allocations: 337.6 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.2343, allocations: 11.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.2343, allocations: 8.844 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.752e-05/0.2344, allocations: 176.3 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.2344, allocations: 8.312 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.2344, allocations: 4.375 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.2345, allocations: 42 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2345, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.2345, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2345, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.2346, allocations: 19.92 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.2348, allocations: 256.9 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.2349, allocations: 26.61 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.2349, allocations: 20.91 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2349, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.235, allocations: 42.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.235, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.2351, allocations: 61.59 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.2352, allocations: 55.39 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.412e-05/0.2352, allocations: 101.9 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.2352, allocations: 25.7 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.2353, allocations: 88.12 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.2353, allocations: 3.906 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2353, allocations: 17.84 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.2353, allocations: 310.8 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.2354, allocations: 15.98 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.2354, allocations: 4 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.2355, allocations: 32.72 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.2355, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.334e-05/0.2356, allocations: 53.75 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.2356, allocations: 5.25 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2356, allocations: 3.984 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.2356, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.2357, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.2357, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.2357, allocations: 8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.2357, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 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 3.855e-05/0.2358, allocations: 122.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.2358, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.2358, allocations: 3.531 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2358, allocations: 3.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2358, allocations: 3.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.2358, allocations: 7.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.946e-05/0.2359, allocations: 161.6 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2359, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.236, allocations: 12.22 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.236, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.236, allocations: 8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.236, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.236, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.2362, allocations: 0.7044 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.2362, allocations: 81.11 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.2362, allocations: 4.031 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.2363, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.2363, allocations: 11.92 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2363, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.905e-05/0.2364, allocations: 83.28 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2364, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002775/0.2366, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 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 5.903e-05/0.2367, allocations: 95.25 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.762e-05/0.2368, allocations: 31.92 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2368, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.2369, allocations: 7.984 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.237, allocations: 8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.2373, allocations: 243.3 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.142e-05/0.2374, allocations: 0.677 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.2374, allocations: 3.984 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.2374, allocations: 11.44 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2374, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of Templates: time 0.001496/0.2389, allocations: 288.6 kB / 1.224 GB, free: 110.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)