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.00174/0.00174, allocations: 99.25 kB / 16.26 MB, free: 6.359 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.00195/0.00195, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.765/1.765, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.829/1.829, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001769/0.00177, allocations: 75.02 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2502, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003053/0.2533, allocations: 1.415 MB / 0.7854 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.2541, allocations: 443.9 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.2541, allocations: 0 / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.2542, allocations: 0 / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.2543, allocations: 3.938 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2544, allocations: 11.98 kB / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.2545, allocations: 31.84 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2546, allocations: 4 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2547, allocations: 15.92 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.2548, allocations: 11.94 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2548, allocations: 4 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.2548, allocations: 0 / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2549, allocations: 0 / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.2549, allocations: 15.92 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.996e-05/0.255, allocations: 19.91 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.255, allocations: 4 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.255, allocations: 0 / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.255, allocations: 0 / 0.786 GB, free: 1.895 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.0004187/0.2554, allocations: 339.7 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2555, allocations: 15.97 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.2555, allocations: 0.9375 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2557, allocations: 168.3 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.2557, allocations: 384 / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2557, allocations: 384 / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2559, allocations: 61.91 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2559, allocations: 0 / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2559, allocations: 3.938 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2559, allocations: 0 / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.256, allocations: 19.98 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.2563, allocations: 244.9 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.2564, allocations: 34.56 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.2565, allocations: 20.86 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2565, allocations: 4 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2566, allocations: 30.56 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2566, allocations: 0 / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002507/0.2568, allocations: 61.8 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.2569, allocations: 55.41 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.257, allocations: 105.8 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.257, allocations: 25.7 kB / 0.7871 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.257, allocations: 80.14 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2571, allocations: 15.84 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.2571, allocations: 13.7 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2572, allocations: 310.8 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.2573, allocations: 19.94 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.2573, allocations: 8.234 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.904e-05/0.2574, allocations: 28.78 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2574, allocations: 4 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.3832/0.6406, allocations: 53.19 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.6407, allocations: 3.969 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6407, allocations: 1.781 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.6407, allocations: 1.344 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.6408, allocations: 6.062 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6408, allocations: 1.781 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.6409, allocations: 5.625 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.6409, allocations: 1.594 kB / 0.7876 GB, free: 48.71 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 6.585e-05/0.641, allocations: 116.7 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.641, allocations: 2.375 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.6411, allocations: 6.781 kB / 0.7878 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6411, allocations: 1.75 kB / 0.7878 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6411, allocations: 0 / 0.7878 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6411, allocations: 0 / 0.7878 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.6412, allocations: 161.1 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6413, allocations: 3.609 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.6413, allocations: 7.609 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6413, allocations: 2.062 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.6413, allocations: 1.875 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6413, allocations: 0.8438 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6413, allocations: 0 / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.6415, allocations: 155.5 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.6415, allocations: 83.52 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.6415, allocations: 0 / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.6416, allocations: 3.375 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.6417, allocations: 4.109 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6417, allocations: 0.7969 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.6417, allocations: 84.38 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6417, allocations: 0.6875 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003134/0.642, allocations: 6.031 kB / 0.7882 GB, free: 48.11 MB / 0.6544 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 8.487e-05/0.6421, allocations: 101.5 kB / 0.7883 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.6423, allocations: 20.72 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6423, allocations: 0 / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.6423, allocations: 17.23 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.6425, allocations: 13.22 kB / 0.7884 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.6428, allocations: 134.8 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.643, allocations: 0.677 MB / 0.7892 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.643, allocations: 7.438 kB / 0.7892 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.643, allocations: 3 kB / 0.7892 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.001691/0.6447, allocations: 0.5119 MB / 0.7897 GB, free: 47.2 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)