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.0009134/0.0009134, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001317/0.001317, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.722/1.722, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0008641/0.0008644, allocations: 16.69 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3134, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001985/0.3154, allocations: 1.144 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.3162, allocations: 413.4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.3163, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3163, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.3164, allocations: 7.938 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.3165, allocations: 7.984 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.3166, allocations: 23.92 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.3167, allocations: 8 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.3168, allocations: 11.92 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.3169, allocations: 11.92 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3169, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.3169, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3169, allocations: 11.94 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.317, allocations: 25.7 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.871e-05/0.317, allocations: 11.97 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3171, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3171, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3171, allocations: 0 / 0.789 GB, free: 10.12 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.0004508/0.3175, allocations: 335.5 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3176, allocations: 8.031 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.3176, allocations: 38.5 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.3177, allocations: 3.984 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3178, allocations: 170.9 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3178, allocations: 8 kB / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3179, allocations: 4 kB / 0.7896 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.318, allocations: 37.69 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3181, allocations: 0 / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.3181, allocations: 3.938 kB / 0.7896 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3181, allocations: 4 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.354e-05/0.3182, allocations: 19.98 kB / 0.7896 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3186, allocations: 260.9 kB / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.3187, allocations: 26.58 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.3188, allocations: 24.91 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3188, allocations: 4 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3188, allocations: 30.56 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.3188, allocations: 0 / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002792/0.3191, allocations: 73.61 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3192, allocations: 51.41 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3193, allocations: 113.9 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3193, allocations: 25.7 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.3194, allocations: 84.08 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3194, allocations: 11.89 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.3194, allocations: 0 / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3196, allocations: 314.8 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.3196, allocations: 7.984 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.3197, allocations: 16 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.3197, allocations: 11.98 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3197, allocations: 0 / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.3199, allocations: 57.62 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3199, allocations: 4 kB / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3199, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3199, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.32, allocations: 16.08 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.32, allocations: 0 / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.3201, allocations: 15.89 kB / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.3201, allocations: 0 / 0.7907 GB, free: 8.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.3202, allocations: 106.5 kB / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.3202, allocations: 11.89 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.3202, allocations: 7.531 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3202, allocations: 0 / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3202, allocations: 7.984 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3203, allocations: 0 / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3204, allocations: 161.6 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3204, allocations: 3.938 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.3205, allocations: 4 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.3205, allocations: 3.984 kB / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3205, allocations: 0 / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3205, allocations: 256 / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3205, allocations: 0 / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.3207, allocations: 159.4 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.3208, allocations: 81.11 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3208, allocations: 0 / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.3209, allocations: 11.98 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.3209, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3209, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.321, allocations: 87.3 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.321, allocations: 0 / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002131/0.3212, allocations: 7.906 kB / 0.7914 GB, free: 7.414 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 (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.0005241/0.3217, allocations: 0.689 MB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.3218, allocations: 23.98 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3219, allocations: 0 / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.3219, allocations: 15.98 kB / 0.7921 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.3221, allocations: 5.25 kB / 0.7921 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3226, allocations: 162.3 kB / 0.7922 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3229, allocations: 0.6809 MB / 0.7929 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.3229, allocations: 0 / 0.7929 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.323, allocations: 11.44 kB / 0.7929 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.323, allocations: 0 / 0.7929 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.3351, allocations: 0.9792 MB / 0.7939 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.3353, allocations: 208 kB / 0.7941 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.111, allocations: 0 / 0.7941 GB, free: 4.699 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/linux/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) Environment - environmentSimulation: