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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 107.6 kB / 15.99 MB, free: 6.352 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.001115/0.001115, allocations: 190.6 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8818/0.8818, allocations: 122.9 MB / 413.6 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.89 kB / 0.4906 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3649, allocations: 77.93 MB / 0.5667 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06083/0.4258, allocations: 69.84 MB / 0.6349 GB, free: 5.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.4493, allocations: 18.8 MB / 0.6533 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.4519, allocations: 63.62 kB / 0.6533 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.454, allocations: 0.6957 MB / 0.654 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.4614, allocations: 2.667 MB / 0.6566 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.4651, allocations: 1.51 MB / 0.6581 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005592/0.4707, allocations: 4.066 MB / 0.6621 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.4731, allocations: 1.445 MB / 0.6635 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005215/0.4783, allocations: 1.775 MB / 0.6652 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003962/0.4823, allocations: 1.214 MB / 0.6664 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005991/0.483, allocations: 176 kB / 0.6666 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.4873, allocations: 1.443 MB / 0.668 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005386/0.4879, allocations: 386.7 kB / 0.6683 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.4894, allocations: 0.9255 MB / 0.6693 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.4943, allocations: 3.085 MB / 0.6723 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.297e-05/0.4943, allocations: 4 kB / 0.6723 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4943, allocations: 0 / 0.6723 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.4944, allocations: 4 kB / 0.6723 GB, free: 14.75 MB / 0.5137 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.003346/0.4977, allocations: 2.031 MB / 0.6743 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4978, allocations: 8.625 kB / 0.6743 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.5001, allocations: 446.4 kB / 0.6747 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.5025, allocations: 1.509 MB / 0.6762 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003719/0.5029, allocations: 138 kB / 0.6763 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.5031, allocations: 107.9 kB / 0.6764 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.5056, allocations: 1.293 MB / 0.6777 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5056, allocations: 4 kB / 0.6777 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5057, allocations: 44 kB / 0.6777 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5057, allocations: 28 kB / 0.6777 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.5084, allocations: 1.105 MB / 0.6788 GB, free: 7.844 MB / 0.5137 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.008347/0.5167, allocations: 7.13 MB / 0.6858 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.5201, allocations: 0.8211 MB / 0.6866 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.5207, allocations: 286 kB / 0.6868 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.522, allocations: 1.718 MB / 0.6885 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.522, allocations: 42.94 kB / 0.6886 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.522, allocations: 0 / 0.6886 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004846/0.5269, allocations: 1.338 MB / 0.6899 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.5269, allocations: 59.84 kB / 0.6899 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.5292, allocations: 1.521 MB / 0.6914 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/0.5293, allocations: 37.7 kB / 0.6915 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.5299, allocations: 0.6652 MB / 0.6921 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.53, allocations: 169.6 kB / 0.6923 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.5303, allocations: 166.4 kB / 0.6924 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5304, allocations: 330 kB / 0.6927 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/0.5314, allocations: 361.8 kB / 0.6931 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5326, allocations: 0.6315 MB / 0.6937 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.5344, allocations: 0.8521 MB / 0.6945 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.5344, allocations: 4 kB / 0.6945 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004242/0.5386, allocations: 1.337 MB / 0.6958 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5387, allocations: 8 kB / 0.6958 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5387, allocations: 8 kB / 0.6959 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/0.5396, allocations: 220.6 kB / 0.6961 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/0.5404, allocations: 175.8 kB / 0.6962 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/0.5412, allocations: 0.7163 MB / 0.6969 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.5429, allocations: 238.7 kB / 0.6972 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/0.543, allocations: 39.97 kB / 0.6972 GB, free: 3.781 MB / 0.5294 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.0005756/0.5435, allocations: 357.5 kB / 0.6975 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.5438, allocations: 146.2 kB / 0.6977 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.546, allocations: 1.138 MB / 0.6988 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.5461, allocations: 15.98 kB / 0.6988 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5461, allocations: 4.031 kB / 0.6988 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5461, allocations: 3.938 kB / 0.6988 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.5512, allocations: 2.514 MB / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5513, allocations: 0 / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.5517, allocations: 83.88 kB / 0.7013 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008489/0.5525, allocations: 220.8 kB / 0.7016 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.5526, allocations: 19.98 kB / 0.7016 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.554, allocations: 0.7669 MB / 0.7023 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.554, allocations: 4.031 kB / 0.7023 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.5574, allocations: 1.203 MB / 0.7035 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.5581, allocations: 346.9 kB / 0.7038 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.5583, allocations: 15.98 kB / 0.7039 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/0.5593, allocations: 91.75 kB / 0.7039 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.5594, allocations: 48.44 kB / 0.704 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.5595, allocations: 27.98 kB / 0.704 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001719/0.5612, allocations: 1.07 MB / 0.7051 GB, free: 11.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5612, allocations: 0 / 0.7051 GB, free: 11.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001498/0.5627, allocations: 435.4 kB / 0.7055 GB, free: 11.14 MB / 0.545 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.001058/0.5638, allocations: 477.8 kB / 0.7059 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.5661, allocations: 0.8602 MB / 0.7068 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5661, allocations: 4 kB / 0.7068 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.5674, allocations: 439.5 kB / 0.7072 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.5706, allocations: 0.7403 MB / 0.7079 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.5748, allocations: 2.75 MB / 0.7106 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.5755, allocations: 1.172 MB / 0.7117 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001107/0.5766, allocations: 267.9 kB / 0.712 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.5769, allocations: 111.3 kB / 0.7121 GB, free: 4.293 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5769, allocations: 0 / 0.7121 GB, free: 4.293 MB / 0.545 GB Notification: Performance of Templates: time 0.05265/0.6296, allocations: 31.08 MB / 0.7425 GB, free: 5.543 MB / 0.5762 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)