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.001084/0.001084, allocations: 108.9 kB / 16.37 MB, free: 6.48 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.001153/0.001153, allocations: 192.4 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001456/0.001456, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2141, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.4882/0.7023, allocations: 61.23 MB / 0.8446 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.7211, allocations: 11.9 MB / 0.8562 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.7241, allocations: 58.88 kB / 0.8563 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.7267, allocations: 0.6804 MB / 0.8569 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007147/0.7339, allocations: 1.941 MB / 0.8588 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.738, allocations: 1.227 MB / 0.86 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005517/0.7435, allocations: 3.073 MB / 0.863 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.746, allocations: 1.107 MB / 0.8641 GB, free: 12.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.7502, allocations: 1.34 MB / 0.8654 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.7527, allocations: 0.9039 MB / 0.8663 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005386/0.7532, allocations: 116.9 kB / 0.8664 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.7578, allocations: 1.467 MB / 0.8678 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006642/0.7585, allocations: 294.5 kB / 0.8681 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.7603, allocations: 0.7039 MB / 0.8688 GB, free: 9.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.7657, allocations: 2.328 MB / 0.8711 GB, free: 8.578 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7657, allocations: 0 / 0.8711 GB, free: 8.578 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7657, allocations: 1.156 kB / 0.8711 GB, free: 8.578 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.564e-05/0.7658, allocations: 0 / 0.8711 GB, free: 8.578 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.004687/0.7705, allocations: 1.742 MB / 0.8728 GB, free: 7.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7706, allocations: 9.781 kB / 0.8728 GB, free: 7.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.7726, allocations: 340.1 kB / 0.8731 GB, free: 7.078 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.7756, allocations: 1.162 MB / 0.8742 GB, free: 6.152 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/0.7757, allocations: 65.16 kB / 0.8743 GB, free: 6.121 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.7759, allocations: 78.22 kB / 0.8744 GB, free: 6.098 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.7782, allocations: 0.977 MB / 0.8753 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.7782, allocations: 1.156 kB / 0.8753 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.7783, allocations: 34.22 kB / 0.8754 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.7783, allocations: 21.31 kB / 0.8754 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.7805, allocations: 0.8151 MB / 0.8762 GB, free: 5.023 MB / 0.67 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.007192/0.7877, allocations: 4.862 MB / 0.8809 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.7895, allocations: 0.6075 MB / 0.8815 GB, free: 384 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.7901, allocations: 282.1 kB / 0.8818 GB, free: 248 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.7917, allocations: 1.372 MB / 0.8831 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.7918, allocations: 32.53 kB / 0.8832 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 4.137e-06/0.7918, allocations: 4 kB / 0.8832 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007513/0.7993, allocations: 1.662 MB / 0.8848 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.7994, allocations: 56.56 kB / 0.8848 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.8013, allocations: 1.076 MB / 0.8859 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.8014, allocations: 38.02 kB / 0.8859 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.8019, allocations: 0.5366 MB / 0.8865 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.8021, allocations: 162.8 kB / 0.8866 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.8023, allocations: 141.4 kB / 0.8867 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8025, allocations: 331.5 kB / 0.8871 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/0.8033, allocations: 293.1 kB / 0.8873 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.8044, allocations: 0.5019 MB / 0.8878 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.806, allocations: 0.6693 MB / 0.8885 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.806, allocations: 1.156 kB / 0.8885 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003746/0.8098, allocations: 1.128 MB / 0.8896 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8098, allocations: 8.062 kB / 0.8896 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.8098, allocations: 4.438 kB / 0.8896 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.8111, allocations: 312.2 kB / 0.8899 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.8117, allocations: 124.7 kB / 0.89 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.8131, allocations: 0.898 MB / 0.8909 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.8145, allocations: 147 kB / 0.891 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.8146, allocations: 35.52 kB / 0.8911 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.8158, allocations: 0.4944 MB / 0.8916 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009584/0.8168, allocations: 499.1 kB / 0.892 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/0.8183, allocations: 0.6678 MB / 0.8927 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-06/0.8183, allocations: 1.188 kB / 0.8927 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003562/0.8218, allocations: 1.115 MB / 0.8938 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8219, allocations: 11.12 kB / 0.8938 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8219, allocations: 4.469 kB / 0.8938 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.823, allocations: 295.2 kB / 0.8941 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.8236, allocations: 135.2 kB / 0.8942 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.8251, allocations: 0.8921 MB / 0.8951 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.8267, allocations: 125.6 kB / 0.8952 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.8268, allocations: 35.05 kB / 0.8952 GB, free: 6.812 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002838/0.8271, allocations: 223.9 kB / 0.8954 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.8275, allocations: 117.8 kB / 0.8955 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.8307, allocations: 1.036 MB / 0.8966 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.8308, allocations: 5.844 kB / 0.8966 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8308, allocations: 0 / 0.8966 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.8308, allocations: 5.172 kB / 0.8966 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.836, allocations: 2.127 MB / 0.8986 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8361, allocations: 3.125 kB / 0.8986 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.8363, allocations: 59.47 kB / 0.8987 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009941/0.8373, allocations: 289.7 kB / 0.899 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.8374, allocations: 27.86 kB / 0.899 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.8388, allocations: 0.9241 MB / 0.8999 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.8389, allocations: 6.906 kB / 0.8999 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.8425, allocations: 1.145 MB / 0.901 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006253/0.8431, allocations: 271.4 kB / 0.9013 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.8433, allocations: 12 kB / 0.9013 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/0.8441, allocations: 63.92 kB / 0.9014 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.8442, allocations: 35.95 kB / 0.9014 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.8443, allocations: 27.92 kB / 0.9014 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001213/0.8455, allocations: 0.7514 MB / 0.9022 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.8455, allocations: 4 kB / 0.9022 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001828/0.8474, allocations: 0.5849 MB / 0.9027 GB, free: 236 kB / 0.6856 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.0009547/0.8483, allocations: 402.8 kB / 0.9031 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.8514, allocations: 1.087 MB / 0.9042 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8514, allocations: 0 / 0.9042 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.8523, allocations: 339.7 kB / 0.9045 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.8551, allocations: 0.527 MB / 0.905 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.8588, allocations: 1.857 MB / 0.9068 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.8595, allocations: 1.062 MB / 0.9079 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.8598, allocations: 83.42 kB / 0.908 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of SimCode: time 9.12e-07/0.8598, allocations: 0 / 0.908 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of Templates: time 0.03316/0.8929, allocations: 24.43 MB / 0.9318 GB, free: 2.699 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (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)