Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001172/0.001172, allocations: 184 kB / 17.22 MB, free: 5.625 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.414/1.414, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.894/1.894, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001516/0.001516, allocations: 68.47 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2993, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4942/0.7935, allocations: 61.24 MB / 0.8439 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.812, allocations: 11.9 MB / 0.8555 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.8157, allocations: 60.38 kB / 0.8556 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.8182, allocations: 0.6843 MB / 0.8562 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008209/0.8264, allocations: 1.956 MB / 0.8581 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.8313, allocations: 1.218 MB / 0.8593 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006066/0.8374, allocations: 3.077 MB / 0.8623 GB, free: 12.78 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.84, allocations: 1.127 MB / 0.8634 GB, free: 12.26 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004352/0.8444, allocations: 1.331 MB / 0.8647 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.8467, allocations: 0.9153 MB / 0.8656 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.847, allocations: 119.8 kB / 0.8657 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.8516, allocations: 1.457 MB / 0.8672 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.8521, allocations: 298.6 kB / 0.8674 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.8536, allocations: 0.7044 MB / 0.8681 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.859, allocations: 2.337 MB / 0.8704 GB, free: 8.883 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.8591, allocations: 0.5625 kB / 0.8704 GB, free: 8.883 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8591, allocations: 0 / 0.8704 GB, free: 8.883 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.248e-05/0.8591, allocations: 0 / 0.8704 GB, free: 8.883 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004437/0.8636, allocations: 1.748 MB / 0.8721 GB, free: 7.535 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.8636, allocations: 9.5 kB / 0.8721 GB, free: 7.535 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.8663, allocations: 458.6 kB / 0.8726 GB, free: 7.328 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.869, allocations: 1.127 MB / 0.8737 GB, free: 6.406 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.8693, allocations: 114.3 kB / 0.8738 GB, free: 6.363 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.8695, allocations: 83.72 kB / 0.8739 GB, free: 6.336 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.8718, allocations: 1.003 MB / 0.8748 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8719, allocations: 0 / 0.8748 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/0.872, allocations: 35.84 kB / 0.8749 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.872, allocations: 19 kB / 0.8749 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.8747, allocations: 0.9486 MB / 0.8758 GB, free: 5.219 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.007394/0.8821, allocations: 4.667 MB / 0.8804 GB, free: 1.098 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/0.886, allocations: 1.004 MB / 0.8814 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.8871, allocations: 414.4 kB / 0.8817 GB, free: 408 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.8882, allocations: 1.014 MB / 0.8827 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.8882, allocations: 39.59 kB / 0.8828 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.8882, allocations: 0 / 0.8828 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.007728/0.896, allocations: 1.95 MB / 0.8847 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.896, allocations: 57.16 kB / 0.8847 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.8976, allocations: 0.9526 MB / 0.8857 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.8978, allocations: 42.45 kB / 0.8857 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.8983, allocations: 0.5081 MB / 0.8862 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.8986, allocations: 187.6 kB / 0.8864 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.8988, allocations: 129.2 kB / 0.8865 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.899, allocations: 326.5 kB / 0.8868 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.9, allocations: 359.1 kB / 0.8872 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.9012, allocations: 0.5096 MB / 0.8877 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.9032, allocations: 0.7646 MB / 0.8884 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9032, allocations: 1.469 kB / 0.8884 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003187/0.9064, allocations: 1.066 MB / 0.8894 GB, free: 11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9065, allocations: 6.906 kB / 0.8895 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9065, allocations: 3.188 kB / 0.8895 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.9078, allocations: 315.6 kB / 0.8898 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.9084, allocations: 133.9 kB / 0.8899 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.9099, allocations: 0.9119 MB / 0.8908 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.911, allocations: 124.8 kB / 0.8909 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/0.9111, allocations: 26.98 kB / 0.8909 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001497/0.9126, allocations: 0.5645 MB / 0.8915 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/0.914, allocations: 0.5032 MB / 0.892 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002008/0.916, allocations: 0.7538 MB / 0.8927 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.916, allocations: 4.875 kB / 0.8927 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002899/0.9189, allocations: 1.064 MB / 0.8937 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9189, allocations: 6.656 kB / 0.8937 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.919, allocations: 2.562 kB / 0.8937 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.9201, allocations: 303.5 kB / 0.894 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.9207, allocations: 133.4 kB / 0.8942 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.9221, allocations: 0.9099 MB / 0.8951 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.9233, allocations: 111.8 kB / 0.8952 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.9234, allocations: 31.23 kB / 0.8952 GB, free: 7.371 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002647/0.9236, allocations: 215.1 kB / 0.8954 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.9239, allocations: 109.5 kB / 0.8955 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.9269, allocations: 1.154 MB / 0.8966 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.927, allocations: 6.406 kB / 0.8966 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.927, allocations: 0 / 0.8966 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.927, allocations: 4.984 kB / 0.8966 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.9316, allocations: 2.26 MB / 0.8988 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.9317, allocations: 7.938 kB / 0.8989 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.9322, allocations: 103.8 kB / 0.899 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009943/0.9332, allocations: 303.4 kB / 0.8992 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.9333, allocations: 22.23 kB / 0.8993 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.9348, allocations: 0.94 MB / 0.9002 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.9348, allocations: 7.875 kB / 0.9002 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.9385, allocations: 1.314 MB / 0.9015 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/0.9392, allocations: 275.5 kB / 0.9017 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.9393, allocations: 12 kB / 0.9017 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/0.9402, allocations: 83.91 kB / 0.9018 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9403, allocations: 40.27 kB / 0.9019 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.9404, allocations: 27.97 kB / 0.9019 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009823/0.9414, allocations: 0.6717 MB / 0.9025 GB, free: 444 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.873e-06/0.9414, allocations: 0 / 0.9025 GB, free: 444 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001817/0.9432, allocations: 0.573 MB / 0.9031 GB, free: 15.86 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009113/0.9441, allocations: 388.3 kB / 0.9035 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00371/0.9478, allocations: 1.312 MB / 0.9048 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9479, allocations: 0 / 0.9048 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.9491, allocations: 464.8 kB / 0.9052 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.9513, allocations: 0.4978 MB / 0.9057 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.9552, allocations: 1.902 MB / 0.9075 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.9559, allocations: 1.062 MB / 0.9086 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009084/0.9568, allocations: 241.9 kB / 0.9088 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.957, allocations: 83.41 kB / 0.9089 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.957, allocations: 0 / 0.9089 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of Templates: time 0.04/0.997, allocations: 24.88 MB / 0.9332 GB, free: 1.426 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)