Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.453/1.453, allocations: 252 MB / 267.3 MB, free: 10.86 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.001276/0.001276, allocations: 170.6 kB / 327 MB, free: 2.117 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.67/1.67, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009498/0.0009498, allocations: 81.62 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000542/0.0005421, allocations: 9.531 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2307, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04488/0.2756, allocations: 59.78 MB / 0.9593 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.2922, allocations: 11.78 MB / 0.9708 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.2947, allocations: 51.62 kB / 0.9708 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.2968, allocations: 0.5477 MB / 0.9714 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.303, allocations: 1.781 MB / 0.9731 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.3063, allocations: 1.101 MB / 0.9742 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005352/0.3117, allocations: 3.892 MB / 0.978 GB, free: 228 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3134, allocations: 0.8941 MB / 0.9789 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.3164, allocations: 1.124 MB / 0.98 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.318, allocations: 0.8593 MB / 0.9808 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.3183, allocations: 48 kB / 0.9809 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.3214, allocations: 1.321 MB / 0.9821 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.3217, allocations: 218.8 kB / 0.9823 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.3228, allocations: 0.6311 MB / 0.983 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.3262, allocations: 2.208 MB / 0.9851 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3262, allocations: 4 kB / 0.9851 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3262, allocations: 0 / 0.9851 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.3262, allocations: 0 / 0.9851 GB, free: 8.859 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002922/0.3291, allocations: 1.485 MB / 0.9866 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.3292, allocations: 16.02 kB / 0.9866 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.3294, allocations: 122.9 kB / 0.9867 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.331, allocations: 387 kB / 0.9871 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.3332, allocations: 1.132 MB / 0.9882 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003723/0.3336, allocations: 133.9 kB / 0.9883 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3338, allocations: 80 kB / 0.9884 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.3359, allocations: 0.9683 MB / 0.9893 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3359, allocations: 0 / 0.9893 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.336, allocations: 32 kB / 0.9894 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.336, allocations: 20 kB / 0.9894 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3382, allocations: 0.8587 MB / 0.9902 GB, free: 3.477 MB / 0.6355 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.006352/0.3446, allocations: 4.551 MB / 0.9947 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.3463, allocations: 0.6456 MB / 0.9953 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007568/0.3471, allocations: 303.8 kB / 0.9956 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.3487, allocations: 1.393 MB / 0.9969 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3487, allocations: 39 kB / 0.997 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/0.3487, allocations: 0 / 0.997 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007598/0.3563, allocations: 1.9 MB / 0.9988 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3564, allocations: 55.84 kB / 0.9989 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.3582, allocations: 1.06 MB / 0.9999 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/0.3584, allocations: 41.64 kB / 1 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.3589, allocations: 0.5351 MB / 1 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3591, allocations: 161.6 kB / 1.001 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3591, allocations: 16 kB / 1.001 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3593, allocations: 330 kB / 1.001 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008479/0.3601, allocations: 296.9 kB / 1.001 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.3612, allocations: 0.4915 MB / 1.002 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.3628, allocations: 0.6738 MB / 1.002 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3628, allocations: 3.938 kB / 1.002 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00271/0.3655, allocations: 1.007 MB / 1.003 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.3656, allocations: 196.4 kB / 1.004 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3657, allocations: 4 kB / 1.004 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.367, allocations: 324.6 kB / 1.004 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.3676, allocations: 123.8 kB / 1.004 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.3693, allocations: 0.9439 MB / 1.005 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3706, allocations: 179.2 kB / 1.005 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/0.3707, allocations: 27.98 kB / 1.005 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.3707, allocations: 4 kB / 1.005 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/0.3731, allocations: 0.8736 MB / 1.006 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3731, allocations: 4 kB / 1.006 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3743, allocations: 328.9 kB / 1.006 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.3748, allocations: 119.7 kB / 1.006 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.3764, allocations: 0.9361 MB / 1.007 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.3776, allocations: 155.3 kB / 1.007 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.3776, allocations: 31.98 kB / 1.008 GB, free: 0.8281 MB / 0.6511 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005879/0.3782, allocations: 356.9 kB / 1.008 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.3785, allocations: 114.6 kB / 1.008 GB, free: 364 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.3818, allocations: 1.13 MB / 1.009 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.3819, allocations: 4 kB / 1.009 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3819, allocations: 4 kB / 1.009 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.3819, allocations: 3.984 kB / 1.009 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/0.3872, allocations: 2.212 MB / 1.011 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3873, allocations: 4 kB / 1.011 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.3875, allocations: 59.91 kB / 1.011 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.3886, allocations: 335.3 kB / 1.012 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.3887, allocations: 19.94 kB / 1.012 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.3902, allocations: 0.9698 MB / 1.013 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3903, allocations: 4 kB / 1.013 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.3939, allocations: 1.243 MB / 1.014 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.3945, allocations: 283.4 kB / 1.014 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.3947, allocations: 12 kB / 1.014 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009824/0.3957, allocations: 103.8 kB / 1.014 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.3958, allocations: 35.89 kB / 1.014 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/0.3958, allocations: 27.92 kB / 1.014 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00132/0.3972, allocations: 0.7469 MB / 1.015 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3972, allocations: 0 / 1.015 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001633/0.3988, allocations: 0.5692 MB / 1.016 GB, free: 8.406 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004698/0.4035, allocations: 2.062 MB / 1.018 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002929/0.4065, allocations: 1.108 MB / 1.019 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.4065, allocations: 4 kB / 1.019 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.4074, allocations: 355 kB / 1.019 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.4104, allocations: 0.5333 MB / 1.019 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.4286, allocations: 8.84 MB / 1.028 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.4293, allocations: 1.066 MB / 1.029 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00119/0.4305, allocations: 233.7 kB / 1.029 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/0.4312, allocations: 411.2 kB / 1.03 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/0.4313, allocations: 0 / 1.03 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4006/0.8318, allocations: 32.91 MB / 1.062 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.8321, allocations: 294.9 kB / 1.062 GB, free: 147.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/3.992, allocations: 0.625 kB / 1.062 GB, free: 147.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)