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.0007765/0.0007764, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000891/0.0008914, allocations: 172.7 kB / 15.95 MB, free: 208 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.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.371 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.724/1.724, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000517/0.000517, allocations: 15.12 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2486, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05326/0.3019, allocations: 56.53 MB / 0.8425 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.3184, allocations: 11.15 MB / 0.8534 GB, free: 8.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.3207, allocations: 51.62 kB / 0.8534 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.3223, allocations: 468.8 kB / 0.8539 GB, free: 7.566 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.3274, allocations: 1.511 MB / 0.8553 GB, free: 6.051 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.3301, allocations: 0.884 MB / 0.8562 GB, free: 5.176 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004765/0.3348, allocations: 3.382 MB / 0.8595 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3363, allocations: 0.8065 MB / 0.8603 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.3388, allocations: 1.05 MB / 0.8613 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.3403, allocations: 0.8166 MB / 0.8621 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3405, allocations: 44 kB / 0.8622 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.3432, allocations: 1.099 MB / 0.8632 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.3434, allocations: 203 kB / 0.8634 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.3439, allocations: 289 kB / 0.8637 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.346, allocations: 1.656 MB / 0.8653 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.346, allocations: 0 / 0.8653 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.346, allocations: 0 / 0.8653 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.346, allocations: 0 / 0.8653 GB, free: 11.78 MB / 0.6856 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.002684/0.3487, allocations: 1.516 MB / 0.8668 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3488, allocations: 12.03 kB / 0.8668 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.351, allocations: 0.5135 MB / 0.8673 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.353, allocations: 1.102 MB / 0.8684 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.3533, allocations: 133.9 kB / 0.8685 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3535, allocations: 83.98 kB / 0.8686 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.3554, allocations: 1.029 MB / 0.8696 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3555, allocations: 0 / 0.8696 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.3555, allocations: 32 kB / 0.8696 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3556, allocations: 20 kB / 0.8697 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.3579, allocations: 0.9915 MB / 0.8706 GB, free: 6.203 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.006268/0.3642, allocations: 4.696 MB / 0.8752 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.3678, allocations: 1.121 MB / 0.8763 GB, free: 28 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.3688, allocations: 437.9 kB / 0.8767 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/0.3698, allocations: 1.025 MB / 0.8777 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3699, allocations: 50.88 kB / 0.8778 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.497e-06/0.3699, allocations: 0 / 0.8778 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.007257/0.3771, allocations: 2.139 MB / 0.8799 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.3772, allocations: 71.72 kB / 0.8799 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.3789, allocations: 0.9318 MB / 0.8808 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.587e-05/0.379, allocations: 37.7 kB / 0.8809 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.3795, allocations: 0.5003 MB / 0.8814 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.3797, allocations: 193.2 kB / 0.8815 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3798, allocations: 8 kB / 0.8816 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3799, allocations: 330 kB / 0.8819 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/0.3809, allocations: 376.9 kB / 0.8822 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.382, allocations: 0.5371 MB / 0.8828 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.383, allocations: 394 kB / 0.8831 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.383, allocations: 0 / 0.8831 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003683/0.3867, allocations: 1.295 MB / 0.8844 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.3869, allocations: 164.2 kB / 0.8846 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3869, allocations: 0 / 0.8846 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.3881, allocations: 335.3 kB / 0.8849 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.3887, allocations: 139.8 kB / 0.885 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3902, allocations: 0.9387 MB / 0.8859 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3914, allocations: 171.3 kB / 0.8861 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.3915, allocations: 35.97 kB / 0.8861 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3915, allocations: 4 kB / 0.8861 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003208/0.3947, allocations: 1.15 MB / 0.8872 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3947, allocations: 4 kB / 0.8872 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3958, allocations: 324.7 kB / 0.8876 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.3964, allocations: 139.8 kB / 0.8877 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.3977, allocations: 0.9371 MB / 0.8886 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3989, allocations: 167.3 kB / 0.8888 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.399, allocations: 27.98 kB / 0.8888 GB, free: 2.762 MB / 0.7012 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 (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.0006512/0.3997, allocations: 363.8 kB / 0.8891 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.4, allocations: 110.7 kB / 0.8892 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.403, allocations: 1.222 MB / 0.8904 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.4031, allocations: 4 kB / 0.8904 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4031, allocations: 3.938 kB / 0.8904 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4031, allocations: 7.984 kB / 0.8905 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/0.4077, allocations: 2.307 MB / 0.8927 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4078, allocations: 4 kB / 0.8927 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.4083, allocations: 116 kB / 0.8928 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009394/0.4092, allocations: 336.4 kB / 0.8931 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.4093, allocations: 12 kB / 0.8932 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.4107, allocations: 0.9651 MB / 0.8941 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.4107, allocations: 4.031 kB / 0.8941 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.4141, allocations: 1.402 MB / 0.8955 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/0.4148, allocations: 295.4 kB / 0.8958 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.415, allocations: 12 kB / 0.8958 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009538/0.4159, allocations: 119.9 kB / 0.8959 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.416, allocations: 44.34 kB / 0.8959 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.4161, allocations: 23.98 kB / 0.8959 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001092/0.4172, allocations: 0.6638 MB / 0.8966 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4172, allocations: 0 / 0.8966 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001893/0.4191, allocations: 0.5652 MB / 0.8971 GB, free: 10.02 MB / 0.7169 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 (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.0009936/0.4201, allocations: 372.5 kB / 0.8975 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003617/0.4237, allocations: 1.389 MB / 0.8989 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4238, allocations: 0 / 0.8989 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.4249, allocations: 484.9 kB / 0.8993 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.4273, allocations: 0.5069 MB / 0.8998 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.4322, allocations: 2.338 MB / 0.9021 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/0.433, allocations: 1.07 MB / 0.9031 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001118/0.4342, allocations: 232.5 kB / 0.9034 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4344, allocations: 83.41 kB / 0.9034 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.4344, allocations: 0 / 0.9034 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.4546/0.889, allocations: 23.15 MB / 0.9261 GB, free: 133.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: