Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001068, allocations: 166.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000923/0.0009228, allocations: 84 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8.625 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2193, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001553/0.2209, allocations: 1.153 MB / 0.8979 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.2215, allocations: 457 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.2216, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.2216, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.2217, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.2218, allocations: 15.92 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.2219, allocations: 15.94 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.222, allocations: 15.92 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.2221, allocations: 11.98 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.2221, allocations: 11.92 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2221, allocations: 0 / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2222, allocations: 4 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.2222, allocations: 7.938 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2222, allocations: 7.875 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.2223, allocations: 11.97 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2223, allocations: 4 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2223, allocations: 4 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2223, allocations: 0 / 0.8984 GB, free: 66.43 MB / 0.6042 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.0002971/0.2226, allocations: 327.5 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2226, allocations: 12.03 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.2227, allocations: 4.844 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.962e-05/0.2228, allocations: 172.3 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2228, allocations: 384 / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.2228, allocations: 4.312 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2229, allocations: 53.98 kB / 0.899 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2229, allocations: 4 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2229, allocations: 0 / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2229, allocations: 0 / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.223, allocations: 19.98 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.2233, allocations: 252.9 kB / 0.8992 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.707e-05/0.2234, allocations: 42.55 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.2234, allocations: 20.91 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2235, allocations: 0 / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2235, allocations: 30.56 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2235, allocations: 4 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000214/0.2237, allocations: 73.58 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.2237, allocations: 51.41 kB / 0.8994 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.2238, allocations: 105.8 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2238, allocations: 25.7 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.2238, allocations: 84.12 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2239, allocations: 11.91 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.2239, allocations: 9.844 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.224, allocations: 314.8 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.224, allocations: 15.98 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.2241, allocations: 8.016 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.2242, allocations: 32.78 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2242, allocations: 8 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.541e-05/0.2243, allocations: 49.69 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2243, allocations: 10.5 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2243, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2243, allocations: 7.922 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.2244, allocations: 4 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2244, allocations: 0 / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.2244, allocations: 8.031 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2244, allocations: 0 / 0.9001 GB, free: 64.48 MB / 0.6042 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 4.985e-05/0.2245, allocations: 121.7 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.2245, allocations: 3.984 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.2245, allocations: 3.531 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2246, allocations: 4.25 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2246, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2246, allocations: 4 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.2247, allocations: 157.6 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2247, allocations: 4 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.2247, allocations: 7.984 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2247, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2248, allocations: 4 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2248, allocations: 0 / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2248, allocations: 0 / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.2249, allocations: 171.3 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.2249, allocations: 77.11 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2249, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.225, allocations: 4 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.225, allocations: 0 / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.225, allocations: 4 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.2251, allocations: 87.27 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2251, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000188/0.2253, allocations: 4 kB / 0.9007 GB, free: 63.74 MB / 0.6042 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.511e-05/0.2254, allocations: 99.28 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2255, allocations: 23.98 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2255, allocations: 0 / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.2255, allocations: 23.92 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2257, allocations: 8.062 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.226, allocations: 150 kB / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2261, allocations: 0.677 MB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.2261, allocations: 7.438 kB / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2261, allocations: 0 / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.00153/0.2277, allocations: 0.5106 MB / 0.9022 GB, free: 62.19 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)