Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.609/2.609, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 181.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 92.3 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005065, allocations: 11.19 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2457, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003017/0.2488, allocations: 1.133 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2501, allocations: 409.4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.2501, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.2502, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.2503, allocations: 7.984 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.2505, allocations: 11.98 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.073e-05/0.2506, allocations: 19.86 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2508, allocations: 8 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2509, allocations: 7.984 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.251, allocations: 7.938 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2511, allocations: 0 / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.2511, allocations: 0 / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.2511, allocations: 11.97 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.2512, allocations: 29.7 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.854e-05/0.2513, allocations: 11.98 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2513, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2513, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2513, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 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.0005375/0.2519, allocations: 341.6 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.252, allocations: 8.031 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.252, allocations: 34.5 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.2521, allocations: 7.953 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2522, allocations: 170.9 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2523, allocations: 4 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.2523, allocations: 8 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2525, allocations: 37.69 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2526, allocations: 3.984 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2526, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2526, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.2528, allocations: 23.98 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.2532, allocations: 256.9 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2534, allocations: 30.56 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2534, allocations: 0 / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2534, allocations: 38.55 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.315e-06/0.2535, allocations: 8.062 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005224/0.254, allocations: 61.62 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2541, allocations: 59.34 kB / 0.9809 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2542, allocations: 101.9 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2542, allocations: 29.64 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.2543, allocations: 96.19 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.2544, allocations: 7.906 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.2544, allocations: 0 / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.2545, allocations: 310.8 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2547, allocations: 15.98 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2548, allocations: 4 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.2549, allocations: 16.06 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.255, allocations: 0 / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002554/0.2552, allocations: 61.61 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2553, allocations: 8 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2553, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2553, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.2555, allocations: 4 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2555, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.2556, allocations: 15.97 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2556, allocations: 0 / 0.9816 GB, free: 24.66 MB / 0.6198 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 9.577e-05/0.2557, allocations: 109.8 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2558, allocations: 3.906 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.2559, allocations: 7.531 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2559, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2559, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2559, allocations: 4 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2562, allocations: 165.6 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2562, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2563, allocations: 4 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.2563, allocations: 3.938 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2564, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2564, allocations: 4 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2564, allocations: 256 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2567, allocations: 163.4 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.2567, allocations: 77.11 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2568, allocations: 4 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.257, allocations: 4 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.257, allocations: 3.984 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.2571, allocations: 0 / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.2571, allocations: 87.22 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.31e-07/0.2571, allocations: 0 / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004911/0.2577, allocations: 11.94 kB / 0.9822 GB, free: 23.93 MB / 0.6198 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.0005322/0.2582, allocations: 0.6909 MB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.2585, allocations: 24.02 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2585, allocations: 0 / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2587, allocations: 15.98 kB / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2589, allocations: 0 / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.2597, allocations: 154.4 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2599, allocations: 0.6848 MB / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.2599, allocations: 3.938 kB / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.26, allocations: 11.44 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.26, allocations: 4 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.284, allocations: 0.9629 MB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004098/0.2845, allocations: 212.6 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.753, allocations: 5.938 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)