Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.001126, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4546/0.4546, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 100.5 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.86 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3473, allocations: 70.05 MB / 0.5575 GB, free: 44.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05518/0.4025, allocations: 70.04 MB / 0.6259 GB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02386/0.4264, allocations: 18.99 MB / 0.6444 GB, free: 3.902 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.4298, allocations: 67.56 kB / 0.6445 GB, free: 3.836 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.4322, allocations: 0.6604 MB / 0.6451 GB, free: 3.172 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.4399, allocations: 2.615 MB / 0.6477 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.444, allocations: 1.492 MB / 0.6491 GB, free: 15.06 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007031/0.451, allocations: 5.025 MB / 0.6541 GB, free: 10.02 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.4534, allocations: 1.187 MB / 0.6552 GB, free: 8.801 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.4575, allocations: 1.513 MB / 0.6567 GB, free: 7.281 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.4597, allocations: 1.159 MB / 0.6578 GB, free: 6.117 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.46, allocations: 76 kB / 0.6579 GB, free: 6.043 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.4635, allocations: 1.247 MB / 0.6591 GB, free: 4.793 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.464, allocations: 294.6 kB / 0.6594 GB, free: 4.504 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.466, allocations: 0.8122 MB / 0.6602 GB, free: 3.688 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005674/0.4717, allocations: 3.027 MB / 0.6631 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4717, allocations: 0 / 0.6631 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4718, allocations: 0 / 0.6631 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.4719, allocations: 0 / 0.6631 GB, free: 0.6523 MB / 474.7 MB 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.004295/0.4762, allocations: 2.045 MB / 0.6651 GB, free: 14.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4762, allocations: 8.031 kB / 0.6651 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.4783, allocations: 438.5 kB / 0.6656 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.4808, allocations: 1.504 MB / 0.667 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.4812, allocations: 146 kB / 0.6672 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4814, allocations: 100 kB / 0.6673 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.4839, allocations: 1.297 MB / 0.6685 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4839, allocations: 0 / 0.6685 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.484, allocations: 44 kB / 0.6686 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.484, allocations: 24 kB / 0.6686 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.4867, allocations: 1.112 MB / 0.6697 GB, free: 9.734 MB / 490.7 MB 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.008781/0.4955, allocations: 7.133 MB / 0.6766 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/0.4986, allocations: 0.8062 MB / 0.6774 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.4992, allocations: 282 kB / 0.6777 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.5006, allocations: 1.726 MB / 0.6794 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5006, allocations: 38.94 kB / 0.6794 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.5006, allocations: 0 / 0.6794 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.004821/0.5054, allocations: 1.33 MB / 0.6807 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.5055, allocations: 55.84 kB / 0.6808 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.5078, allocations: 1.525 MB / 0.6823 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/0.5078, allocations: 41.7 kB / 0.6823 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/0.5084, allocations: 0.6691 MB / 0.683 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.5086, allocations: 169.6 kB / 0.6831 GB, free: 11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.5088, allocations: 162.5 kB / 0.6833 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.509, allocations: 330 kB / 0.6836 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/0.51, allocations: 361.8 kB / 0.6839 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.5112, allocations: 0.6317 MB / 0.6846 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.5129, allocations: 0.8521 MB / 0.6854 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5129, allocations: 4 kB / 0.6854 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004309/0.5172, allocations: 1.333 MB / 0.6867 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.5173, allocations: 10.53 kB / 0.6867 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.5173, allocations: 8 kB / 0.6867 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008339/0.5181, allocations: 220.6 kB / 0.6869 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.5189, allocations: 183.8 kB / 0.6871 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008289/0.5197, allocations: 0.7162 MB / 0.6878 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5213, allocations: 242.8 kB / 0.688 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.5214, allocations: 35.98 kB / 0.6881 GB, free: 5.688 MB / 0.4948 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005885/0.522, allocations: 357.5 kB / 0.6884 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.5222, allocations: 154.1 kB / 0.6886 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.5246, allocations: 1.129 MB / 0.6897 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.5246, allocations: 15.98 kB / 0.6897 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5246, allocations: 3.938 kB / 0.6897 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5246, allocations: 7.922 kB / 0.6897 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.5297, allocations: 2.506 MB / 0.6921 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5298, allocations: 0 / 0.6921 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.5301, allocations: 83.88 kB / 0.6922 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007661/0.5309, allocations: 224.8 kB / 0.6924 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.5309, allocations: 19.98 kB / 0.6924 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.5323, allocations: 0.7708 MB / 0.6932 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5323, allocations: 0 / 0.6932 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.5372, allocations: 2.423 MB / 0.6956 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.5378, allocations: 350.9 kB / 0.6959 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.5379, allocations: 16 kB / 0.6959 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/0.5388, allocations: 83.84 kB / 0.696 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.5389, allocations: 44.5 kB / 0.696 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.539, allocations: 23.98 kB / 0.6961 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001635/0.5406, allocations: 1.07 MB / 0.6971 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5406, allocations: 0 / 0.6971 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001318/0.542, allocations: 451.3 kB / 0.6975 GB, free: 11.74 MB / 0.5105 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008631/0.5428, allocations: 476.6 kB / 0.698 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002119/0.545, allocations: 0.8405 MB / 0.6988 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.545, allocations: 0 / 0.6988 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.5463, allocations: 443.5 kB / 0.6992 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.5497, allocations: 0.6908 MB / 0.6999 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.5545, allocations: 3.123 MB / 0.703 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.5553, allocations: 1.18 MB / 0.7041 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001186/0.5565, allocations: 271.9 kB / 0.7044 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.5568, allocations: 115.4 kB / 0.7045 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/0.5568, allocations: 0 / 0.7045 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of Templates: time 0.3101/0.8669, allocations: 30.76 MB / 0.7345 GB, free: 127.1 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)