Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001032/0.001032, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001221/0.001221, allocations: 177.3 kB / 15.94 MB, free: 228 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.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.636/1.636, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005566/0.0005567, allocations: 15.97 kB / 0.6735 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0486/0.2784, allocations: 51.33 MB / 0.8372 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.293, allocations: 10.21 MB / 0.8472 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.2951, allocations: 51.62 kB / 0.8473 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.2971, allocations: 0.6257 MB / 0.8479 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.3026, allocations: 1.899 MB / 0.8497 GB, free: 11.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.3065, allocations: 1.331 MB / 0.851 GB, free: 10.38 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003547/0.3101, allocations: 1.847 MB / 0.8528 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.3113, allocations: 0.7938 MB / 0.8536 GB, free: 7.707 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.3133, allocations: 1 MB / 0.8546 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.3145, allocations: 0.6105 MB / 0.8552 GB, free: 6.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3146, allocations: 40 kB / 0.8552 GB, free: 6.051 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.317, allocations: 1.006 MB / 0.8562 GB, free: 5.043 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.3172, allocations: 203.1 kB / 0.8564 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.3176, allocations: 281.1 kB / 0.8567 GB, free: 4.562 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.3198, allocations: 1.606 MB / 0.8582 GB, free: 2.953 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3198, allocations: 0 / 0.8582 GB, free: 2.953 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3198, allocations: 0 / 0.8582 GB, free: 2.953 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.3198, allocations: 0 / 0.8582 GB, free: 2.953 MB / 0.67 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.002897/0.3227, allocations: 1.495 MB / 0.8597 GB, free: 1.402 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3228, allocations: 8.031 kB / 0.8597 GB, free: 1.395 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3244, allocations: 382 kB / 0.8601 GB, free: 1.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.3261, allocations: 1.055 MB / 0.8611 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.3265, allocations: 125.9 kB / 0.8612 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3266, allocations: 87.98 kB / 0.8613 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.3284, allocations: 0.9605 MB / 0.8622 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3284, allocations: 0 / 0.8622 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/0.3285, allocations: 32 kB / 0.8623 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.3285, allocations: 20 kB / 0.8623 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.3306, allocations: 0.8509 MB / 0.8631 GB, free: 13.8 MB / 0.6856 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.006287/0.3369, allocations: 4.567 MB / 0.8676 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.3386, allocations: 0.6418 MB / 0.8682 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.3401, allocations: 1.393 MB / 0.8696 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3402, allocations: 35 kB / 0.8696 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.3402, allocations: 4 kB / 0.8696 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.0072/0.3474, allocations: 1.878 MB / 0.8714 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3475, allocations: 59.78 kB / 0.8715 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.3494, allocations: 1.075 MB / 0.8725 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3495, allocations: 37.7 kB / 0.8726 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.35, allocations: 0.5235 MB / 0.8731 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3502, allocations: 165.7 kB / 0.8732 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3502, allocations: 12 kB / 0.8733 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3503, allocations: 330 kB / 0.8736 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.3511, allocations: 296.9 kB / 0.8739 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/0.352, allocations: 495.2 kB / 0.8743 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000824/0.3529, allocations: 340.6 kB / 0.8746 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3529, allocations: 0 / 0.8746 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002481/0.3554, allocations: 0.9912 MB / 0.8756 GB, free: 212 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005518/0.3559, allocations: 1.411 MB / 0.877 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.356, allocations: 8 kB / 0.877 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.3572, allocations: 327.6 kB / 0.8773 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.3577, allocations: 127.8 kB / 0.8774 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3591, allocations: 0.9347 MB / 0.8783 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3604, allocations: 191.1 kB / 0.8785 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.3605, allocations: 31.98 kB / 0.8786 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3605, allocations: 6.656 kB / 0.8786 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/0.3627, allocations: 0.866 MB / 0.8794 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3627, allocations: 4 kB / 0.8794 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3638, allocations: 316.7 kB / 0.8797 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.3643, allocations: 123.8 kB / 0.8798 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.3656, allocations: 0.9449 MB / 0.8808 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3667, allocations: 162.2 kB / 0.8809 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.3668, allocations: 27.98 kB / 0.8809 GB, free: 10.6 MB / 0.7012 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.0004743/0.3672, allocations: 345 kB / 0.8813 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3674, allocations: 114.6 kB / 0.8814 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.3703, allocations: 1.127 MB / 0.8825 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.3703, allocations: 7.984 kB / 0.8825 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3703, allocations: 0 / 0.8825 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3703, allocations: 7.953 kB / 0.8825 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.3751, allocations: 2.216 MB / 0.8847 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3751, allocations: 0 / 0.8847 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.3754, allocations: 72.12 kB / 0.8847 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.3764, allocations: 324.5 kB / 0.885 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.3765, allocations: 15.98 kB / 0.8851 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.3779, allocations: 0.966 MB / 0.886 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3779, allocations: 7.938 kB / 0.886 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/0.3814, allocations: 1.35 MB / 0.8873 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.3818, allocations: 295.3 kB / 0.8876 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.382, allocations: 12 kB / 0.8876 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.3828, allocations: 107.8 kB / 0.8877 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.3829, allocations: 39.94 kB / 0.8878 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.383, allocations: 23.98 kB / 0.8878 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001158/0.3841, allocations: 0.7547 MB / 0.8885 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3841, allocations: 4 kB / 0.8885 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001436/0.3856, allocations: 0.5731 MB / 0.8891 GB, free: 2.012 MB / 0.7012 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.0007351/0.3863, allocations: 393.7 kB / 0.8895 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.3891, allocations: 1.104 MB / 0.8905 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3892, allocations: 0 / 0.8905 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.3899, allocations: 351.4 kB / 0.8909 GB, free: 188 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.3922, allocations: 0.5171 MB / 0.8914 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.3957, allocations: 2.231 MB / 0.8936 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.3963, allocations: 1.085 MB / 0.8946 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000817/0.3971, allocations: 224 kB / 0.8948 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3973, allocations: 79.42 kB / 0.8949 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.3973, allocations: 0 / 0.8949 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of Templates: time 0.03744/0.4347, allocations: 24.04 MB / 0.9184 GB, free: 4.23 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: