Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.665/2.665, allocations: 251.3 MB / 266.2 MB, free: 11.48 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002152/0.002151, allocations: 178.6 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.645/2.645, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 89.81 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004949, allocations: 11.91 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2261, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08051/0.3066, allocations: 65.12 MB / 0.9626 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03507/0.3418, allocations: 17.56 MB / 0.9798 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.3446, allocations: 59.62 kB / 0.9798 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.3477, allocations: 0.516 MB / 0.9803 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009414/0.3572, allocations: 2.091 MB / 0.9824 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00552/0.3627, allocations: 1.099 MB / 0.9835 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008251/0.371, allocations: 4.407 MB / 0.9878 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003968/0.375, allocations: 1.104 MB / 0.9888 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.3804, allocations: 1.322 MB / 0.9901 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.3835, allocations: 1.046 MB / 0.9911 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.3841, allocations: 63.94 kB / 0.9912 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/0.3882, allocations: 0.9043 MB / 0.9921 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006885/0.3889, allocations: 250.8 kB / 0.9923 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008755/0.3898, allocations: 368.9 kB / 0.9927 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.3947, allocations: 2.295 MB / 0.9949 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3948, allocations: 0 / 0.9949 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3948, allocations: 0 / 0.9949 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.565e-05/0.3949, allocations: 0 / 0.9949 GB, free: 14.94 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005506/0.4004, allocations: 1.731 MB / 0.9966 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4004, allocations: 12.03 kB / 0.9966 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.4048, allocations: 0.4946 MB / 0.9971 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.4095, allocations: 1.478 MB / 0.9986 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008124/0.4104, allocations: 150 kB / 0.9987 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.4108, allocations: 104 kB / 0.9988 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/0.4155, allocations: 1.315 MB / 1 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.4156, allocations: 0 / 1 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.4158, allocations: 44 kB / 1 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.4159, allocations: 24 kB / 1 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/0.4214, allocations: 1.171 MB / 1.001 GB, free: 8.211 MB / 0.6511 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.01501/0.4364, allocations: 6.936 MB / 1.008 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006083/0.4426, allocations: 0.9333 MB / 1.009 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.444, allocations: 314 kB / 1.009 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.4457, allocations: 1.722 MB / 1.011 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.08e-05/0.4459, allocations: 39 kB / 1.011 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.677e-06/0.4459, allocations: 4 kB / 1.011 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.01072/0.4566, allocations: 1.491 MB / 1.012 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.4567, allocations: 55.84 kB / 1.013 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005547/0.4623, allocations: 1.533 MB / 1.014 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.4626, allocations: 37.7 kB / 1.014 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.4638, allocations: 0.6576 MB / 1.015 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/0.4643, allocations: 185.3 kB / 1.015 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.4644, allocations: 16 kB / 1.015 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.4647, allocations: 330 kB / 1.015 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.4677, allocations: 397.8 kB / 1.016 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.4711, allocations: 0.6822 MB / 1.016 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.4818, allocations: 449.9 kB / 1.017 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.4819, allocations: 4 kB / 1.017 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01253/0.4944, allocations: 1.259 MB / 1.018 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.4945, allocations: 10.78 kB / 1.018 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.4946, allocations: 8 kB / 1.018 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.4966, allocations: 224.6 kB / 1.018 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/0.5067, allocations: 199.7 kB / 1.018 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.5088, allocations: 0.7357 MB / 1.019 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008706/0.5175, allocations: 266.6 kB / 1.019 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.5179, allocations: 43.98 kB / 1.019 GB, free: 4.637 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.5192, allocations: 349.6 kB / 1.02 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006085/0.5199, allocations: 154.2 kB / 1.02 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.5338, allocations: 1.215 MB / 1.021 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.5339, allocations: 11.94 kB / 1.021 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.5339, allocations: 11.94 kB / 1.021 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.534, allocations: 3.984 kB / 1.021 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5486, allocations: 2.651 MB / 1.024 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.5487, allocations: 0 / 1.024 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5499, allocations: 95.88 kB / 1.024 GB, free: 52 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.552, allocations: 224.9 kB / 1.024 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.5522, allocations: 15.98 kB / 1.024 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.5558, allocations: 0.8138 MB / 1.025 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.5558, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00988/0.5657, allocations: 1.316 MB / 1.026 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.5674, allocations: 378.8 kB / 1.026 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/0.568, allocations: 19.98 kB / 1.026 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/0.571, allocations: 107.8 kB / 1.026 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.5713, allocations: 48.5 kB / 1.027 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.5714, allocations: 27.98 kB / 1.027 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004716/0.5762, allocations: 1.066 MB / 1.028 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.62e-07/0.5762, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003004/0.5793, allocations: 431.4 kB / 1.028 GB, free: 11.54 MB / 0.6823 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.5812, allocations: 451.5 kB / 1.028 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005404/0.5866, allocations: 0.8992 MB / 1.029 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.5867, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.5901, allocations: 491.6 kB / 1.03 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0086/0.5987, allocations: 0.7322 MB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.6085, allocations: 2.726 MB / 1.033 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/0.6102, allocations: 1.183 MB / 1.034 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002776/0.6131, allocations: 272.2 kB / 1.035 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.6138, allocations: 115.4 kB / 1.035 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/0.6139, allocations: 0 / 1.035 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of Templates: time 0.6979/1.312, allocations: 29.51 MB / 1.064 GB, free: 139.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)