Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001291/0.001291, allocations: 111 kB / 16.38 MB, free: 6.008 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.001263/0.001263, allocations: 189.4 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002704/0.237, allocations: 1.43 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006385/0.2376, allocations: 435.9 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.2377, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.2377, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.2378, allocations: 3.938 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2379, allocations: 15.92 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.238, allocations: 27.92 kB / 0.7867 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2381, allocations: 4 kB / 0.7867 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.2382, allocations: 15.92 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.2383, allocations: 11.92 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2383, allocations: 7.938 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-06/0.2383, allocations: 0 / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.2384, allocations: 4 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.2384, allocations: 15.92 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.371e-05/0.2385, allocations: 19.92 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2385, allocations: 8 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2385, allocations: 0 / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2385, allocations: 0 / 0.7867 GB, free: 1.176 MB / 0.6544 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.0004164/0.2389, allocations: 339.4 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.239, allocations: 8.031 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.239, allocations: 8.875 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2391, allocations: 168.3 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2391, allocations: 384 / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2391, allocations: 384 / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2393, allocations: 57.92 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2393, allocations: 0 / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-06/0.2393, allocations: 0 / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2393, allocations: 0 / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.2394, allocations: 19.98 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.2398, allocations: 248.9 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.2399, allocations: 38.5 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.24, allocations: 20.92 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.24, allocations: 0 / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.24, allocations: 34.55 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.24, allocations: 0 / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002526/0.2403, allocations: 53.69 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3686/0.6089, allocations: 55.53 kB / 0.7878 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.609, allocations: 104.6 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.609, allocations: 25.7 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.6091, allocations: 85.83 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.6091, allocations: 14.27 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.6091, allocations: 12.78 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.6092, allocations: 314.8 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.6093, allocations: 10.23 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.6093, allocations: 9.047 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.6094, allocations: 25.11 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6094, allocations: 3.656 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.6095, allocations: 58.53 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6095, allocations: 5.406 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6096, allocations: 3.094 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6096, allocations: 0 / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.6097, allocations: 7.5 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6097, allocations: 0 / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.6097, allocations: 5.641 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.6097, allocations: 0.5 kB / 0.7884 GB, free: 48.4 MB / 0.6544 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 5.293e-05/0.6098, allocations: 113.4 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.6098, allocations: 9.469 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.6098, allocations: 4.375 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6099, allocations: 3.938 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6099, allocations: 1.969 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.6099, allocations: 85.55 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.6099, allocations: 0 / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.61, allocations: 4.688 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.61, allocations: 5.656 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001273/0.6102, allocations: 131.5 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001246/0.6103, allocations: 226.2 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.858e-05/0.6103, allocations: 12.22 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.6104, allocations: 85.16 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of Backend: time 1.102e-06/0.6104, allocations: 0 / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.6107, allocations: 88.98 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002752/0.611, allocations: 0.5584 MB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.001884/0.6129, allocations: 402.6 kB / 0.7901 GB, free: 47.18 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)