Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_y",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.001096/0.001096, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008427/0.008427, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 278.1 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8614/0.8614, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 15.11 kB / 0.5988 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.05641/0.1795, allocations: 73.39 MB / 0.7569 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2609/0.4405, allocations: 12.66 MB / 0.7693 GB, free: 29.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.442, allocations: 56.88 kB / 0.7693 GB, free: 29.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.4433, allocations: 0.6771 MB / 0.77 GB, free: 29.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.4474, allocations: 2.271 MB / 0.7722 GB, free: 29.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.4497, allocations: 1.271 MB / 0.7734 GB, free: 29.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004809/0.4546, allocations: 5.556 MB / 0.7789 GB, free: 29.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.4559, allocations: 1.142 MB / 0.78 GB, free: 29.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.4578, allocations: 1.316 MB / 0.7813 GB, free: 28.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.4588, allocations: 1.13 MB / 0.7824 GB, free: 28.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.459, allocations: 54.53 kB / 0.7824 GB, free: 28.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.4611, allocations: 1.242 MB / 0.7836 GB, free: 28.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.4613, allocations: 284.5 kB / 0.7839 GB, free: 28.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005663/0.4619, allocations: 0.8041 MB / 0.7847 GB, free: 28.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.4639, allocations: 2.718 MB / 0.7873 GB, free: 27.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.464, allocations: 5.062 kB / 0.7873 GB, free: 27.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.492e-06/0.464, allocations: 0 / 0.7873 GB, free: 27.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.464, allocations: 0 / 0.7873 GB, free: 27.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002453/0.4664, allocations: 1.783 MB / 0.7891 GB, free: 26.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4665, allocations: 10.38 kB / 0.7891 GB, free: 26.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.4666, allocations: 143.6 kB / 0.7892 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006487/0.4673, allocations: 247 kB / 0.7895 GB, free: 26.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.469, allocations: 1.491 MB / 0.7909 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.4691, allocations: 73.25 kB / 0.791 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.4693, allocations: 107.3 kB / 0.7911 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4712, allocations: 1.12 MB / 0.7922 GB, free: 26.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4712, allocations: 4.203 kB / 0.7922 GB, free: 26.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.4713, allocations: 38.91 kB / 0.7922 GB, free: 26.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.4714, allocations: 30.84 kB / 0.7923 GB, free: 26.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.4731, allocations: 0.9259 MB / 0.7932 GB, free: 26.22 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.4774, allocations: 4.912 MB / 0.798 GB, free: 23.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4786, allocations: 0.6382 MB / 0.7986 GB, free: 22.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.4793, allocations: 370.8 kB / 0.7989 GB, free: 22.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.4797, allocations: 0.8369 MB / 0.7998 GB, free: 21.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4797, allocations: 42.33 kB / 0.7998 GB, free: 21.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.003e-06/0.4797, allocations: 3.938 kB / 0.7998 GB, free: 21.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.006671/0.4864, allocations: 1.882 MB / 0.8016 GB, free: 20.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.4864, allocations: 57.84 kB / 0.8017 GB, free: 20.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.4877, allocations: 1.208 MB / 0.8029 GB, free: 20.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.4877, allocations: 39.2 kB / 0.8029 GB, free: 20.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.4881, allocations: 0.6151 MB / 0.8035 GB, free: 19.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.4882, allocations: 213.6 kB / 0.8037 GB, free: 19.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.4883, allocations: 67.67 kB / 0.8038 GB, free: 19.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.4883, allocations: 332.8 kB / 0.8041 GB, free: 18.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.4889, allocations: 301.7 kB / 0.8044 GB, free: 18.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.4896, allocations: 0.4979 MB / 0.8049 GB, free: 18.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.4909, allocations: 0.7493 MB / 0.8056 GB, free: 17.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4909, allocations: 1.281 kB / 0.8056 GB, free: 17.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00424/0.4951, allocations: 1.41 MB / 0.807 GB, free: 17.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.4952, allocations: 201.2 kB / 0.8072 GB, free: 17.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4952, allocations: 3.312 kB / 0.8072 GB, free: 17.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.4957, allocations: 144.3 kB / 0.8073 GB, free: 17.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4962, allocations: 165.1 kB / 0.8075 GB, free: 17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006093/0.4968, allocations: 0.716 MB / 0.8082 GB, free: 16.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/0.4978, allocations: 169.8 kB / 0.8083 GB, free: 16.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.4979, allocations: 30.7 kB / 0.8084 GB, free: 16.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-06/0.4979, allocations: 3.312 kB / 0.8084 GB, free: 16.27 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004019/0.5019, allocations: 1.256 MB / 0.8096 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5019, allocations: 3.062 kB / 0.8096 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.5023, allocations: 145.7 kB / 0.8097 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.5028, allocations: 160.1 kB / 0.8099 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005871/0.5034, allocations: 0.7142 MB / 0.8106 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/0.5043, allocations: 162 kB / 0.8107 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.5044, allocations: 30.48 kB / 0.8108 GB, free: 14.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004133/0.5048, allocations: 422.6 kB / 0.8112 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.5049, allocations: 136 kB / 0.8113 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.5095, allocations: 1.403 MB / 0.8127 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5095, allocations: 6.625 kB / 0.8127 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5095, allocations: 3.938 kB / 0.8127 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003849/0.5133, allocations: 1.234 MB / 0.8139 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.5188, allocations: 2.746 MB / 0.8166 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5188, allocations: 3.906 kB / 0.8166 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.5192, allocations: 122 kB / 0.8167 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.5196, allocations: 146.4 kB / 0.8168 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.5197, allocations: 22.67 kB / 0.8168 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.5236, allocations: 2.434 MB / 0.8192 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5236, allocations: 2.5 kB / 0.8192 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.5282, allocations: 1.858 MB / 0.821 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.5286, allocations: 324 kB / 0.8213 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.5287, allocations: 14.69 kB / 0.8214 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.5295, allocations: 103.2 kB / 0.8215 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.5296, allocations: 59.08 kB / 0.8215 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.5297, allocations: 28.67 kB / 0.8215 GB, free: 7.785 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008537/0.5305, allocations: 0.8715 MB / 0.8224 GB, free: 7.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5305, allocations: 6.719 kB / 0.8224 GB, free: 7.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001458/0.532, allocations: 0.7049 MB / 0.8231 GB, free: 7.152 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.3262/0.8582, allocations: 2.735 MB / 0.8258 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002575/0.8608, allocations: 1.184 MB / 0.8269 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.8608, allocations: 4 kB / 0.8269 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.8622, allocations: 0.5917 MB / 0.8275 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/0.8663, allocations: 0.7864 MB / 0.8283 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/0.8889, allocations: 11.17 MB / 0.8392 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/0.8896, allocations: 1.169 MB / 0.8403 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001237/0.8908, allocations: 307 kB / 0.8406 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/0.8915, allocations: 0.511 MB / 0.8411 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.8915, allocations: 0 / 0.8411 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.555/5.446, allocations: 42.37 MB / 0.8825 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/5.447, allocations: 278.5 kB / 0.8828 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.33/11.78, allocations: 3.938 kB / 0.8828 GB, free: 10.84 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_y.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)