Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.006583/0.006583, allocations: 171 kB / 16.27 MB, free: 6.324 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 270.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.000434, allocations: 14.7 kB / 0.5987 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05505/0.2004, allocations: 59.71 MB / 0.7434 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.2158, allocations: 11.91 MB / 0.7551 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.2176, allocations: 51.62 kB / 0.7551 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.2191, allocations: 0.5477 MB / 0.7556 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.2239, allocations: 1.807 MB / 0.7574 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.2265, allocations: 1.08 MB / 0.7585 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3038/0.5302, allocations: 3.898 MB / 0.7623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.532, allocations: 0.8931 MB / 0.7631 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.5342, allocations: 1.119 MB / 0.7642 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.5356, allocations: 0.8562 MB / 0.7651 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.5357, allocations: 41.34 kB / 0.7651 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.5386, allocations: 1.348 MB / 0.7664 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.5389, allocations: 216.8 kB / 0.7666 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.5396, allocations: 0.63 MB / 0.7672 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.5424, allocations: 2.199 MB / 0.7694 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5424, allocations: 0.7031 kB / 0.7694 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5424, allocations: 0.875 kB / 0.7694 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.5425, allocations: 4 kB / 0.7694 GB, free: 15.51 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002686/0.5452, allocations: 1.49 MB / 0.7709 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5452, allocations: 9.438 kB / 0.7709 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.547, allocations: 386.3 kB / 0.7712 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.5491, allocations: 1.124 MB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.5494, allocations: 127.5 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5495, allocations: 83.44 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.5514, allocations: 0.9737 MB / 0.7735 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5514, allocations: 3.469 kB / 0.7735 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.5515, allocations: 35.09 kB / 0.7735 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5515, allocations: 19.77 kB / 0.7735 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.5535, allocations: 0.8442 MB / 0.7744 GB, free: 13.96 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.005491/0.559, allocations: 4.803 MB / 0.7791 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5605, allocations: 0.5917 MB / 0.7796 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.5611, allocations: 290.4 kB / 0.7799 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.5622, allocations: 1.393 MB / 0.7813 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.5622, allocations: 38.56 kB / 0.7813 GB, free: 9.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.5623, allocations: 0 / 0.7813 GB, free: 9.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.0069/0.5692, allocations: 1.852 MB / 0.7831 GB, free: 9.363 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.5692, allocations: 60.16 kB / 0.7832 GB, free: 9.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.5706, allocations: 1.053 MB / 0.7842 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.5707, allocations: 42.58 kB / 0.7842 GB, free: 9.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.571, allocations: 0.5188 MB / 0.7847 GB, free: 8.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.5711, allocations: 153.5 kB / 0.7849 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.5712, allocations: 48.12 kB / 0.7849 GB, free: 8.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.5713, allocations: 325.5 kB / 0.7852 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.572, allocations: 291.8 kB / 0.7855 GB, free: 8.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.5729, allocations: 0.4931 MB / 0.786 GB, free: 8.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.5742, allocations: 0.6643 MB / 0.7867 GB, free: 8.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.5743, allocations: 1.625 kB / 0.7867 GB, free: 8.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002429/0.5767, allocations: 0.9784 MB / 0.7876 GB, free: 7.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.5768, allocations: 213.5 kB / 0.7878 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5768, allocations: 4.094 kB / 0.7878 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.5782, allocations: 332.9 kB / 0.7881 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.5787, allocations: 113.4 kB / 0.7882 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.5803, allocations: 0.9411 MB / 0.7892 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.5819, allocations: 178.2 kB / 0.7893 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.582, allocations: 30.86 kB / 0.7894 GB, free: 7.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.582, allocations: 3.719 kB / 0.7894 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/0.5843, allocations: 0.8413 MB / 0.7902 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5843, allocations: 5.109 kB / 0.7902 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.5855, allocations: 330.1 kB / 0.7905 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.5859, allocations: 111.5 kB / 0.7906 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.5873, allocations: 0.9372 MB / 0.7915 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.5887, allocations: 156.7 kB / 0.7917 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.5888, allocations: 27.77 kB / 0.7917 GB, free: 6.473 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0005451/0.5893, allocations: 356.5 kB / 0.792 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.5895, allocations: 112.2 kB / 0.7922 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.5925, allocations: 1.082 MB / 0.7932 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.5925, allocations: 10.25 kB / 0.7932 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5926, allocations: 0 / 0.7932 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5926, allocations: 4.656 kB / 0.7932 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.598, allocations: 2.174 MB / 0.7953 GB, free: 21.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5981, allocations: 7.688 kB / 0.7954 GB, free: 21.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.5983, allocations: 56.53 kB / 0.7954 GB, free: 21.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.5994, allocations: 327.1 kB / 0.7957 GB, free: 21.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.5994, allocations: 17.09 kB / 0.7957 GB, free: 21.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.601, allocations: 0.9696 MB / 0.7967 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.601, allocations: 3.062 kB / 0.7967 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.6049, allocations: 1.195 MB / 0.7979 GB, free: 20.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.6055, allocations: 283 kB / 0.7981 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6056, allocations: 12.56 kB / 0.7981 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/0.6065, allocations: 101.7 kB / 0.7982 GB, free: 20.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.6066, allocations: 32.73 kB / 0.7983 GB, free: 20.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.6067, allocations: 24.8 kB / 0.7983 GB, free: 20.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001204/0.6079, allocations: 0.7464 MB / 0.799 GB, free: 20.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6079, allocations: 0 / 0.799 GB, free: 20.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001704/0.6096, allocations: 0.5708 MB / 0.7996 GB, free: 20.39 MB / 0.5606 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 (33): * Single equations (assignments): 28 * 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.0008013/0.6104, allocations: 406 kB / 0.8 GB, free: 20.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.6131, allocations: 1.062 MB / 0.801 GB, free: 20.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6131, allocations: 1.031 kB / 0.801 GB, free: 20.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.6138, allocations: 329.9 kB / 0.8013 GB, free: 20.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.6165, allocations: 0.5045 MB / 0.8018 GB, free: 20.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.6194, allocations: 2.259 MB / 0.804 GB, free: 18.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.62, allocations: 1.066 MB / 0.8051 GB, free: 18.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007843/0.6208, allocations: 217.1 kB / 0.8053 GB, free: 18.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.6209, allocations: 76.8 kB / 0.8053 GB, free: 18.16 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6209, allocations: 0 / 0.8053 GB, free: 18.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.0341/0.655, allocations: 24.06 MB / 0.8288 GB, free: 4.523 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)