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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 252 MB / 267 MB, free: 10.96 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.0009565/0.0009566, allocations: 177.8 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.000711/0.000711, allocations: 86.73 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 12.53 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001378/0.1662, allocations: 1.145 MB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004686/0.1666, allocations: 423.8 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1667, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.1667, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.1668, allocations: 3.938 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.1669, allocations: 8 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.1669, allocations: 19.92 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.167, allocations: 11.98 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.1671, allocations: 15.92 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.1671, allocations: 4 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1672, allocations: 0 / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.1672, allocations: 0 / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.1672, allocations: 11.86 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.1672, allocations: 33.7 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.214e-05/0.1673, allocations: 11.98 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1673, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1673, allocations: 4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.1673, allocations: 0 / 0.9019 GB, free: 62.09 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.0002757/0.1676, allocations: 331.6 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1676, allocations: 8.031 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.1676, allocations: 34.56 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.979e-05/0.1677, allocations: 11.86 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.958e-05/0.1677, allocations: 163.1 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1677, allocations: 4 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1677, allocations: 4 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1679, allocations: 45.62 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1679, allocations: 3.984 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1679, allocations: 0 / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1679, allocations: 7.938 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.168, allocations: 19.98 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.1682, allocations: 252.9 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.1683, allocations: 34.5 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1683, allocations: 20.92 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1684, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.1684, allocations: 34.56 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1684, allocations: 0 / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.1686, allocations: 61.67 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.1686, allocations: 59.36 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.1687, allocations: 101.8 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.1687, allocations: 29.7 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.1687, allocations: 92.17 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.1687, allocations: 4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.1687, allocations: 3.938 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.1688, allocations: 318.8 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1688, allocations: 8 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.1689, allocations: 15.98 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.1689, allocations: 12.06 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1689, allocations: 0 / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.169, allocations: 57.59 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1691, allocations: 6.188 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1691, allocations: 3.984 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1691, allocations: 3.984 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.1691, allocations: 8 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1692, allocations: 7.984 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.1692, allocations: 3.938 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1692, allocations: 4 kB / 0.9036 GB, free: 60.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.1693, allocations: 113.8 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1693, allocations: 7.984 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.472e-05/0.1693, allocations: 3.531 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1693, allocations: 0 / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1693, allocations: 0 / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1693, allocations: 7.953 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.848e-05/0.1694, allocations: 157.6 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1694, allocations: 0 / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.1695, allocations: 15.92 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1695, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1695, allocations: 256 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1695, allocations: 4 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1695, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.1696, allocations: 163.4 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.1697, allocations: 81.11 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.1697, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.1697, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1698, allocations: 4 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1698, allocations: 3.938 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.1698, allocations: 87.27 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1698, allocations: 4.031 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001923/0.17, allocations: 4 kB / 0.9043 GB, free: 59.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.1703, allocations: 0.6852 MB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1704, allocations: 27.98 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1704, allocations: 0 / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.1704, allocations: 11.94 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.1706, allocations: 7 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.1709, allocations: 166.3 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.075e-05/0.171, allocations: 0.6809 MB / 0.9058 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.1711, allocations: 0 / 0.9058 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1711, allocations: 7.438 kB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1711, allocations: 0 / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00953/0.1806, allocations: 0.9876 MB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000122/0.1808, allocations: 226.5 kB / 0.907 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/1.586, allocations: 8 kB / 0.907 GB, free: 56.65 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)