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.47/1.47, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001321/0.001321, allocations: 172.5 kB / 326.5 MB, free: 2.266 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.969/1.969, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009736/0.0009736, allocations: 99.88 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.000334, allocations: 10.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001485/0.2073, allocations: 1.137 MB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005822/0.208, allocations: 424.7 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.208, allocations: 0 / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.208, allocations: 0 / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.2081, allocations: 0 / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.2082, allocations: 15.98 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.2083, allocations: 15.92 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.2084, allocations: 4 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.2084, allocations: 15.97 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.2085, allocations: 7.938 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2085, allocations: 0 / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.2085, allocations: 0 / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.2085, allocations: 7.922 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.2086, allocations: 33.7 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.839e-05/0.2086, allocations: 11.98 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2086, allocations: 0 / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2086, allocations: 0 / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2087, allocations: 0 / 0.9018 GB, free: 62.16 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.0003017/0.209, allocations: 335.6 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.209, allocations: 15.91 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.209, allocations: 30.56 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.2091, allocations: 11.86 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.219e-05/0.2092, allocations: 159.1 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.2092, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2092, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2093, allocations: 45.67 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2093, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2093, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2094, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.2094, allocations: 23.98 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.2097, allocations: 256.9 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.2098, allocations: 34.56 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.2098, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2098, allocations: 34.56 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2098, allocations: 4 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/0.21, allocations: 73.67 kB / 0.9028 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2101, allocations: 55.36 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.2101, allocations: 101.9 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.2102, allocations: 25.7 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.2102, allocations: 92.16 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.2102, allocations: 8 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2102, allocations: 4 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.2103, allocations: 310.8 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.2103, allocations: 11.98 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.2103, allocations: 8 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.2104, allocations: 16.05 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2104, allocations: 0 / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.845e-05/0.2105, allocations: 61.53 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2105, allocations: 7.938 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2105, allocations: 4 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2106, allocations: 0 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.2106, allocations: 4 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2106, allocations: 0 / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.2107, allocations: 15.97 kB / 0.9035 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2107, allocations: 4 kB / 0.9035 GB, free: 60.21 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.981e-05/0.2107, allocations: 105.8 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.2108, allocations: 7.984 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.2108, allocations: 3.531 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2108, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2108, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2108, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2109, allocations: 181.5 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2109, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.211, allocations: 4 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.211, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.211, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.211, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.211, allocations: 4 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2112, allocations: 163.3 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.2112, allocations: 77.11 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2112, allocations: 0 / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.2113, allocations: 4 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.2113, allocations: 7.984 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2113, allocations: 0 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.2113, allocations: 83.53 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2113, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001983/0.2115, allocations: 8.031 kB / 0.9041 GB, free: 59.48 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.000289/0.2118, allocations: 0.689 MB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.212, allocations: 28.02 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.212, allocations: 0 / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.212, allocations: 15.98 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.2122, allocations: 4 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.2125, allocations: 162.3 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2127, allocations: 0.6848 MB / 0.9056 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.2127, allocations: 0 / 0.9056 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.2127, allocations: 15.44 kB / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2127, allocations: 0 / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.2241, allocations: 0.9709 MB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.2244, allocations: 214 kB / 0.9068 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.728, allocations: 1.125 kB / 0.9068 GB, free: 56.76 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)