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.001143/0.001143, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001119/0.001119, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.183/1.183, allocations: 205.1 MB / 222.1 MB, free: 4.594 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.508/1.508, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00148/0.00148, allocations: 70.42 kB / 0.6711 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1765, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002384/0.179, allocations: 1.503 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005532/0.1795, allocations: 425.1 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1796, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.1796, allocations: 3.938 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.1797, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1798, allocations: 11.98 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.1799, allocations: 27.86 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.061e-05/0.1799, allocations: 7.984 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.18, allocations: 11.94 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.1801, allocations: 15.92 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1801, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.1801, allocations: 4 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1801, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.1801, allocations: 11.92 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.219e-05/0.1802, allocations: 31.91 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1802, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1802, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1802, allocations: 0 / 0.785 GB, free: 11.75 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.000341/0.1806, allocations: 335.7 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1806, allocations: 8.031 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.1807, allocations: 30.75 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1807, allocations: 8.844 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1808, allocations: 164.4 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1809, allocations: 4.375 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1809, allocations: 4.375 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.181, allocations: 53.73 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.181, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.181, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.181, allocations: 3.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.1811, allocations: 15.98 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1814, allocations: 256.9 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.1815, allocations: 30.56 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.1815, allocations: 16.86 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1815, allocations: 0 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1816, allocations: 42.55 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1816, allocations: 0 / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.1818, allocations: 61.59 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1818, allocations: 51.41 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.1819, allocations: 105.8 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1819, allocations: 25.7 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.182, allocations: 88.08 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.182, allocations: 3.906 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.182, allocations: 17.7 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1821, allocations: 322.9 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.1822, allocations: 7.938 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.1822, allocations: 11.98 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.1823, allocations: 28.84 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1823, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.1824, allocations: 49.69 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1824, allocations: 8.094 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.1824, allocations: 0 / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.1824, allocations: 0 / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.1825, allocations: 8.234 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1825, allocations: 0 / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.1826, allocations: 11.94 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1826, allocations: 0 / 0.7867 GB, free: 9.781 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 6.529e-05/0.1826, allocations: 113.8 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.1827, allocations: 0 / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.1827, allocations: 15.52 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1827, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1827, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1827, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1829, allocations: 161.6 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1829, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.183, allocations: 7.984 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.183, allocations: 0 / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.183, allocations: 3.938 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.183, allocations: 0 / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.183, allocations: 0 / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.1832, allocations: 155.4 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1832, allocations: 93.02 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1832, allocations: 3.938 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.1833, allocations: 0 / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.1833, allocations: 4 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1833, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.1834, allocations: 87.3 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1834, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002244/0.1836, allocations: 8 kB / 0.7873 GB, free: 9.043 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.0003767/0.184, allocations: 0.6773 MB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1841, allocations: 27.95 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1841, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.1842, allocations: 12 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.1844, allocations: 2.531 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.1847, allocations: 160.3 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.185, allocations: 0.6807 MB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.185, allocations: 3.984 kB / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.185, allocations: 7.438 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.185, allocations: 0 / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.2057, allocations: 1.081 MB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.2059, allocations: 223.4 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.776, allocations: 3.938 kB / 0.7901 GB, free: 6.219 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)