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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006483/0.006483, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.178/1.178, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.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.526/1.526, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004738/0.0004738, allocations: 18.81 kB / 0.6744 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001327/0.1725, allocations: 1.156 MB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.173, allocations: 425.1 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.1731, allocations: 4 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1731, allocations: 0 / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.1731, allocations: 3.938 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.1733, allocations: 11.98 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.1733, allocations: 31.86 kB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.215e-05/0.1734, allocations: 4 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.586e-05/0.1735, allocations: 7.984 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.1735, allocations: 15.92 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1735, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.1735, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1736, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.1736, allocations: 33.64 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.723e-05/0.1737, allocations: 23.91 kB / 0.7897 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1737, allocations: 0 / 0.7897 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1737, allocations: 0 / 0.7897 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.1737, allocations: 0 / 0.7897 GB, free: 9.742 MB / 0.6075 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.0003258/0.174, allocations: 339.7 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1741, allocations: 12.03 kB / 0.79 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.1741, allocations: 30.75 kB / 0.79 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.726e-05/0.1741, allocations: 4.875 kB / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.1742, allocations: 168.3 kB / 0.7902 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.1742, allocations: 4.375 kB / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.1742, allocations: 384 / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1743, allocations: 45.81 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.1744, allocations: 4 kB / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.1744, allocations: 0 / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1744, allocations: 3.984 kB / 0.7903 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.1745, allocations: 19.98 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.1747, allocations: 260.8 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.1748, allocations: 34.56 kB / 0.7906 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.1749, allocations: 16.92 kB / 0.7906 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1749, allocations: 11.92 kB / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1749, allocations: 30.56 kB / 0.7906 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1749, allocations: 0 / 0.7906 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.1751, allocations: 69.61 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.1752, allocations: 55.41 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.1752, allocations: 110 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1753, allocations: 29.64 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.1753, allocations: 87.98 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.1753, allocations: 4 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.1753, allocations: 13.72 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.1754, allocations: 318.8 kB / 0.7913 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.1755, allocations: 8 kB / 0.7913 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.1755, allocations: 19.98 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.1756, allocations: 28.84 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1756, allocations: 0 / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001147/0.1757, allocations: 57.53 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.1757, allocations: 8 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.1758, allocations: 4.094 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.1758, allocations: 0 / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.1758, allocations: 4 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1758, allocations: 0 / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.1759, allocations: 7.984 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1759, allocations: 0 / 0.7914 GB, free: 7.734 MB / 0.6075 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.883e-05/0.176, allocations: 114.4 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.176, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.176, allocations: 11.53 kB / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.176, allocations: 0 / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.176, allocations: 4 kB / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.176, allocations: 0 / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1762, allocations: 161.8 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1762, allocations: 4 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.1762, allocations: 4 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1762, allocations: 0 / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1762, allocations: 4 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1762, allocations: 0 / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1762, allocations: 7.984 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1764, allocations: 163.3 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/0.1764, allocations: 77.11 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.1765, allocations: 0 / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.1765, allocations: 7.984 kB / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.1765, allocations: 4.031 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1766, allocations: 4 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.1766, allocations: 83.28 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1766, allocations: 0 / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001982/0.1768, allocations: 4 kB / 0.792 GB, free: 6.996 MB / 0.6075 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 0.0003727/0.1772, allocations: 0.6889 MB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1773, allocations: 27.92 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1773, allocations: 0 / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.1773, allocations: 15.98 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.1775, allocations: 6.594 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.1779, allocations: 166.1 kB / 0.7929 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1781, allocations: 0.677 MB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.1781, allocations: 4 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.1782, allocations: 11.42 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1782, allocations: 0 / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.172/2.35, allocations: 0.9763 MB / 0.7945 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/2.351, allocations: 234.4 kB / 0.7948 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/4.368, allocations: 0 / 0.7948 GB, free: 4.242 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)