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.39/1.39, allocations: 252 MB / 267 MB, free: 10.92 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.001306/0.001306, allocations: 179.5 kB / 326.6 MB, free: 2.176 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.702/1.702, allocations: 205.4 MB / 0.5777 GB, free: 20.48 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.0007265/0.0007264, allocations: 80.02 kB / 0.6822 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 10.03 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04204/0.2643, allocations: 56.53 MB / 0.9555 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.2819, allocations: 11.09 MB / 0.9663 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.2842, allocations: 51.62 kB / 0.9664 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.2862, allocations: 464.8 kB / 0.9668 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005733/0.2919, allocations: 1.518 MB / 0.9683 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.295, allocations: 0.8701 MB / 0.9692 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00511/0.3001, allocations: 3.382 MB / 0.9725 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.3018, allocations: 0.7899 MB / 0.9732 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.3043, allocations: 1.042 MB / 0.9743 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.3063, allocations: 0.805 MB / 0.975 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.3066, allocations: 44 kB / 0.9751 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.3099, allocations: 1.103 MB / 0.9762 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.3103, allocations: 203 kB / 0.9764 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007558/0.311, allocations: 281 kB / 0.9766 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.3139, allocations: 1.645 MB / 0.9782 GB, free: 100 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3139, allocations: 3.938 kB / 0.9782 GB, free: 96 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3139, allocations: 0 / 0.9782 GB, free: 96 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.314, allocations: 0 / 0.9782 GB, free: 96 kB / 0.6198 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.003265/0.3172, allocations: 1.512 MB / 0.9797 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3173, allocations: 8.031 kB / 0.9797 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.3175, allocations: 122.7 kB / 0.9798 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.3192, allocations: 390 kB / 0.9802 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.3215, allocations: 1.078 MB / 0.9813 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.3219, allocations: 133.9 kB / 0.9814 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.322, allocations: 83.94 kB / 0.9815 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.324, allocations: 0.9644 MB / 0.9824 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3241, allocations: 0 / 0.9824 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.3241, allocations: 32 kB / 0.9824 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.3242, allocations: 16 kB / 0.9825 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.3264, allocations: 0.8587 MB / 0.9833 GB, free: 10.74 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.007008/0.3334, allocations: 4.548 MB / 0.9877 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.3351, allocations: 0.6456 MB / 0.9884 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/0.3358, allocations: 300.9 kB / 0.9887 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.3373, allocations: 1.4 MB / 0.99 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3374, allocations: 35 kB / 0.9901 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 4.028e-06/0.3374, allocations: 4 kB / 0.9901 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.00715/0.3446, allocations: 1.881 MB / 0.9919 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3446, allocations: 59.84 kB / 0.992 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.3462, allocations: 1.052 MB / 0.993 GB, free: 148 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.3463, allocations: 41.7 kB / 0.993 GB, free: 100 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.3467, allocations: 0.5235 MB / 0.9935 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.3469, allocations: 165.7 kB / 0.9937 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3469, allocations: 12 kB / 0.9937 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.347, allocations: 322 kB / 0.994 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007788/0.3478, allocations: 296.9 kB / 0.9943 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009308/0.3488, allocations: 499.2 kB / 0.9948 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.3496, allocations: 336.5 kB / 0.9951 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3496, allocations: 4 kB / 0.9951 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002594/0.3522, allocations: 0.9873 MB / 0.9961 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.3524, allocations: 200.4 kB / 0.9962 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3524, allocations: 4 kB / 0.9963 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.3537, allocations: 326.3 kB / 0.9966 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.3542, allocations: 123.7 kB / 0.9967 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.3558, allocations: 0.9405 MB / 0.9976 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.3571, allocations: 183.2 kB / 0.9978 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.3572, allocations: 39.97 kB / 0.9978 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.3572, allocations: 4 kB / 0.9978 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002263/0.3595, allocations: 0.858 MB / 0.9987 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3595, allocations: 4.344 kB / 0.9987 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3606, allocations: 324.5 kB / 0.999 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.3611, allocations: 119.9 kB / 0.9991 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3626, allocations: 0.9341 MB / 1 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3638, allocations: 167.2 kB / 1 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.3639, allocations: 31.98 kB / 1 GB, free: 8.555 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005668/0.3645, allocations: 357 kB / 1.001 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.3647, allocations: 110.6 kB / 1.001 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/0.3678, allocations: 1.117 MB / 1.002 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3679, allocations: 8 kB / 1.002 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3679, allocations: 0 / 1.002 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3679, allocations: 7.922 kB / 1.002 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.3729, allocations: 2.208 MB / 1.004 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.373, allocations: 0 / 1.004 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3732, allocations: 63.91 kB / 1.004 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.3743, allocations: 331.5 kB / 1.004 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.3744, allocations: 11.98 kB / 1.004 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.376, allocations: 0.9659 MB / 1.005 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.376, allocations: 4 kB / 1.005 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/0.3796, allocations: 1.239 MB / 1.006 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006291/0.3803, allocations: 291.4 kB / 1.007 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3804, allocations: 12 kB / 1.007 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.3813, allocations: 103.8 kB / 1.007 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.3814, allocations: 39.91 kB / 1.007 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.3814, allocations: 27.98 kB / 1.007 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00121/0.3826, allocations: 0.739 MB / 1.008 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3827, allocations: 0 / 1.008 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001508/0.3842, allocations: 0.5615 MB / 1.008 GB, free: 172 kB / 0.6511 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004605/0.3888, allocations: 2.062 MB / 1.01 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.3919, allocations: 1.108 MB / 1.011 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3919, allocations: 0 / 1.011 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008231/0.3927, allocations: 351 kB / 1.012 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.3956, allocations: 0.5218 MB / 1.012 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.41, allocations: 6.526 MB / 1.018 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.4107, allocations: 1.07 MB / 1.02 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001151/0.4119, allocations: 225.7 kB / 1.02 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.4124, allocations: 415.3 kB / 1.02 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of SimCode: time 8.62e-07/0.4125, allocations: 4 kB / 1.02 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07292/0.4854, allocations: 34.06 MB / 1.053 GB, free: 1.867 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.4858, allocations: 293.2 kB / 1.054 GB, free: 1.496 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/3.804, allocations: 0 / 1.054 GB, free: 1.496 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)