Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",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.0009548/0.0009547, allocations: 86.02 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.001214/0.001214, 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.618/1.618, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.847/1.847, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004869/0.0004869, allocations: 14.56 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.0653/0.2822, allocations: 69.43 MB / 0.8552 GB, free: 6.211 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.2987, allocations: 11.84 MB / 0.8668 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.3016, allocations: 55.62 kB / 0.8668 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.304, allocations: 0.5588 MB / 0.8674 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007035/0.3111, allocations: 1.88 MB / 0.8692 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.3148, allocations: 0.9781 MB / 0.8702 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006896/0.3217, allocations: 4.758 MB / 0.8748 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.3238, allocations: 1.001 MB / 0.8758 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.3271, allocations: 1.268 MB / 0.877 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.3294, allocations: 1.066 MB / 0.8781 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.3299, allocations: 56 kB / 0.8781 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.3335, allocations: 0.9471 MB / 0.879 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007478/0.3342, allocations: 270.7 kB / 0.8793 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.3353, allocations: 352.9 kB / 0.8796 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.3389, allocations: 2.089 MB / 0.8817 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.339, allocations: 8 kB / 0.8817 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.983e-06/0.339, allocations: 0 / 0.8817 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.513e-05/0.339, allocations: 0 / 0.8817 GB, free: 11.01 MB / 0.7012 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.004384/0.3434, allocations: 1.799 MB / 0.8834 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3435, allocations: 12.03 kB / 0.8834 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002653/0.3438, allocations: 147.9 kB / 0.8836 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/0.3446, allocations: 241.9 kB / 0.8838 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.3471, allocations: 1.427 MB / 0.8852 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.3472, allocations: 74 kB / 0.8853 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.3474, allocations: 108 kB / 0.8854 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.3494, allocations: 1.108 MB / 0.8865 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.3495, allocations: 7.938 kB / 0.8865 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.3496, allocations: 39.94 kB / 0.8865 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.3496, allocations: 32 kB / 0.8865 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.3515, allocations: 0.9173 MB / 0.8874 GB, free: 4.945 MB / 0.7012 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.006012/0.3576, allocations: 4.938 MB / 0.8923 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3589, allocations: 0.6504 MB / 0.8929 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.3596, allocations: 370.3 kB / 0.8933 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.3602, allocations: 0.8277 MB / 0.8941 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3603, allocations: 47.12 kB / 0.8941 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/0.3603, allocations: 0 / 0.8941 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.00659/0.3669, allocations: 1.888 MB / 0.896 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.367, allocations: 59.97 kB / 0.896 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.369, allocations: 1.19 MB / 0.8972 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.3691, allocations: 41.7 kB / 0.8972 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.3697, allocations: 0.5947 MB / 0.8978 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.37, allocations: 212.9 kB / 0.898 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3701, allocations: 19.94 kB / 0.898 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3702, allocations: 334 kB / 0.8983 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.3709, allocations: 297.8 kB / 0.8986 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.3718, allocations: 0.5029 MB / 0.8991 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/0.3725, allocations: 367 kB / 0.8995 GB, free: 8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3725, allocations: 0 / 0.8995 GB, free: 8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004359/0.3769, allocations: 1.402 MB / 0.9008 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.3771, allocations: 189.4 kB / 0.901 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3771, allocations: 4 kB / 0.901 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/0.378, allocations: 168.6 kB / 0.9012 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.3787, allocations: 163.8 kB / 0.9013 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009651/0.3797, allocations: 0.7279 MB / 0.902 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3811, allocations: 175 kB / 0.9022 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.3813, allocations: 31.98 kB / 0.9022 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3813, allocations: 4 kB / 0.9022 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004069/0.3854, allocations: 1.257 MB / 0.9035 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3854, allocations: 4 kB / 0.9035 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.386, allocations: 165.1 kB / 0.9036 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.3867, allocations: 167.7 kB / 0.9038 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/0.3875, allocations: 0.728 MB / 0.9045 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.3889, allocations: 163.2 kB / 0.9047 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.389, allocations: 32 kB / 0.9047 GB, free: 2.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000786/0.3898, allocations: 420.8 kB / 0.9051 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.3902, allocations: 130.4 kB / 0.9052 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.3946, allocations: 1.42 MB / 0.9066 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.3947, allocations: 15.98 kB / 0.9066 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.3947, allocations: 0 / 0.9066 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003988/0.3987, allocations: 1.244 MB / 0.9078 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007131/0.4058, allocations: 2.727 MB / 0.9105 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4059, allocations: 4 kB / 0.9105 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.4064, allocations: 124.2 kB / 0.9106 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/0.407, allocations: 156.7 kB / 0.9108 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.4071, allocations: 19.98 kB / 0.9108 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007705/0.4079, allocations: 0.7308 MB / 0.9115 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.4079, allocations: 4 kB / 0.9115 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/0.4128, allocations: 1.852 MB / 0.9133 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/0.4136, allocations: 331.1 kB / 0.9136 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.4139, allocations: 19.98 kB / 0.9136 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.415, allocations: 99.75 kB / 0.9137 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4151, allocations: 60.27 kB / 0.9138 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.4152, allocations: 27.98 kB / 0.9138 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001518/0.4167, allocations: 0.858 MB / 0.9147 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4167, allocations: 0 / 0.9147 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002405/0.4191, allocations: 0.6979 MB / 0.9153 GB, free: 7.309 MB / 0.7325 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006177/0.4253, allocations: 2.715 MB / 0.918 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003084/0.4284, allocations: 1.16 MB / 0.9191 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.4285, allocations: 0 / 0.9191 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4295, allocations: 419.2 kB / 0.9195 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/0.434, allocations: 0.7683 MB / 0.9203 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4869/0.9209, allocations: 8.311 MB / 0.9284 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.9216, allocations: 1.169 MB / 0.9295 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001505/0.9231, allocations: 302.5 kB / 0.9298 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.9237, allocations: 0.5087 MB / 0.9303 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.383e-06/0.9237, allocations: 0 / 0.9303 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07515/0.9989, allocations: 42.09 MB / 0.9714 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.9991, allocations: 251.6 kB / 0.9717 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/4.058, allocations: 4.062 kB / 0.9717 GB, free: 109.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: