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.411/1.411, allocations: 251.9 MB / 266.9 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.001202/0.001202, allocations: 191.8 kB / 326.5 MB, free: 2.262 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.096/2.096, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.00101/0.00101, allocations: 86.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.5094, allocations: 132.4 MB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5097, allocations: 95.92 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002521/0.5123, allocations: 0.836 MB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5123, allocations: 4 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.5123, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 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.0004073/0.5127, allocations: 347.2 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.5128, allocations: 8.031 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.5129, allocations: 38.56 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.5129, allocations: 7.906 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.5131, allocations: 163 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.5131, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5131, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.5133, allocations: 49.62 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5133, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5133, allocations: 3.984 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5133, allocations: 4 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.5134, allocations: 19.98 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.5138, allocations: 256.9 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.5139, allocations: 38.5 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.514, allocations: 0 / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.514, allocations: 34.62 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.514, allocations: 0 / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002691/0.5143, allocations: 65.67 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.5143, allocations: 55.41 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.5144, allocations: 93 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5145, allocations: 25.7 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.5145, allocations: 92.03 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5146, allocations: 0 / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/0.5146, allocations: 0 / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5147, allocations: 326.9 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.5148, allocations: 15.92 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.5148, allocations: 7.938 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.5149, allocations: 15.98 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5149, allocations: 0 / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.515, allocations: 61.66 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.515, allocations: 6.656 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.515, allocations: 4 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5151, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.5151, allocations: 7.938 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5152, allocations: 3.984 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.5152, allocations: 4 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5152, allocations: 0 / 1.032 GB, free: 8.383 MB / 0.6823 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 0.0001005/0.5153, allocations: 119.4 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.5154, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.5154, allocations: 7.516 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5154, allocations: 0 / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5154, allocations: 3.938 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5154, allocations: 0 / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.5156, allocations: 169.5 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5156, allocations: 0 / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.5157, allocations: 4 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.5157, allocations: 4 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.5157, allocations: 256 / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5157, allocations: 3.984 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5157, allocations: 4 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.5159, allocations: 159.4 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.516, allocations: 77.11 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.516, allocations: 4.031 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.5161, allocations: 7.984 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.5161, allocations: 0 / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5161, allocations: 0 / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.287e-05/0.5162, allocations: 83.28 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.214e-06/0.5162, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002047/0.5164, allocations: 7.938 kB / 1.033 GB, free: 7.645 MB / 0.6823 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.0005734/0.517, allocations: 0.6897 MB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.5172, allocations: 23.98 kB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5172, allocations: 4.094 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.5172, allocations: 15.92 kB / 1.033 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.5174, allocations: 4 kB / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.5179, allocations: 163.6 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5182, allocations: 0.6848 MB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.5183, allocations: 4.062 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.5183, allocations: 11.44 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of SimCode: time 2.01e-07/0.5183, allocations: 0 / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.5298, allocations: 0.9618 MB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.53, allocations: 215.5 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.227, allocations: 2.188 kB / 1.035 GB, free: 4.918 MB / 0.6823 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)