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.001336/0.001336, allocations: 111 kB / 16.53 MB, free: 6.727 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.001324/0.001324, allocations: 199.1 kB / 17.45 MB, free: 6.051 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 115.3 MB / 406.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.366, allocations: 76.17 MB / 0.5564 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05936/0.4255, allocations: 70.03 MB / 0.6248 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02482/0.4503, allocations: 19 MB / 0.6433 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.4539, allocations: 59.62 kB / 0.6434 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.4566, allocations: 0.6605 MB / 0.644 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008232/0.4649, allocations: 2.606 MB / 0.6466 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.4693, allocations: 1.497 MB / 0.648 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00739/0.4767, allocations: 5.009 MB / 0.6529 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.4788, allocations: 1.183 MB / 0.6541 GB, free: 388 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.4824, allocations: 1.501 MB / 0.6555 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.4846, allocations: 1.151 MB / 0.6567 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.4848, allocations: 76 kB / 0.6567 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.4879, allocations: 1.247 MB / 0.658 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.4883, allocations: 290.6 kB / 0.6582 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4893, allocations: 0.8161 MB / 0.659 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.4923, allocations: 2.436 MB / 0.6614 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4923, allocations: 4 kB / 0.6614 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4924, allocations: 0 / 0.6614 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.4924, allocations: 0 / 0.6614 GB, free: 8.84 MB / 0.4981 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.003715/0.4961, allocations: 2.023 MB / 0.6634 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4962, allocations: 11.97 kB / 0.6634 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.4984, allocations: 442.4 kB / 0.6638 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.5009, allocations: 1.516 MB / 0.6653 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.5013, allocations: 138 kB / 0.6654 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5014, allocations: 108 kB / 0.6655 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.5038, allocations: 1.289 MB / 0.6668 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.5039, allocations: 7.938 kB / 0.6668 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/0.504, allocations: 40 kB / 0.6668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.504, allocations: 28 kB / 0.6669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.5066, allocations: 1.108 MB / 0.668 GB, free: 1.926 MB / 0.4981 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.008787/0.5154, allocations: 7.146 MB / 0.6749 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.5185, allocations: 0.794 MB / 0.6757 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.5191, allocations: 286 kB / 0.676 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.5204, allocations: 1.722 MB / 0.6777 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.5205, allocations: 38.94 kB / 0.6777 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 5.811e-06/0.5205, allocations: 3.938 kB / 0.6777 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004768/0.5253, allocations: 1.334 MB / 0.679 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5253, allocations: 55.84 kB / 0.6791 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.5278, allocations: 1.529 MB / 0.6805 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.5279, allocations: 41.7 kB / 0.6806 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.5285, allocations: 0.6613 MB / 0.6812 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.5286, allocations: 173.6 kB / 0.6814 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.5289, allocations: 162.5 kB / 0.6816 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5291, allocations: 330 kB / 0.6819 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009498/0.53, allocations: 365.8 kB / 0.6822 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.5312, allocations: 0.6354 MB / 0.6828 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.5329, allocations: 0.8483 MB / 0.6837 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.533, allocations: 8 kB / 0.6837 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004423/0.5374, allocations: 1.329 MB / 0.685 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5374, allocations: 8.812 kB / 0.685 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.5375, allocations: 8 kB / 0.685 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/0.5384, allocations: 220.6 kB / 0.6852 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.5392, allocations: 191.7 kB / 0.6854 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008637/0.54, allocations: 0.7123 MB / 0.6861 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.5419, allocations: 238.7 kB / 0.6863 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.542, allocations: 43.92 kB / 0.6863 GB, free: 13.85 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.0007046/0.5427, allocations: 353.6 kB / 0.6867 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.5431, allocations: 146.2 kB / 0.6868 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5458, allocations: 1.137 MB / 0.6879 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.5458, allocations: 8 kB / 0.6879 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5458, allocations: 3.938 kB / 0.6879 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5458, allocations: 3.984 kB / 0.6879 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005696/0.5515, allocations: 2.506 MB / 0.6904 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5516, allocations: 4 kB / 0.6904 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.552, allocations: 87.83 kB / 0.6905 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000817/0.5528, allocations: 220.8 kB / 0.6907 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.5529, allocations: 19.98 kB / 0.6907 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.5542, allocations: 0.7734 MB / 0.6915 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5542, allocations: 0 / 0.6915 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.5577, allocations: 1.203 MB / 0.6926 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/0.5586, allocations: 346.9 kB / 0.693 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/0.5591, allocations: 15.98 kB / 0.693 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.5603, allocations: 91.84 kB / 0.6931 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5605, allocations: 48.38 kB / 0.6931 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.5606, allocations: 23.98 kB / 0.6931 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002364/0.5629, allocations: 1.07 MB / 0.6942 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.563, allocations: 4 kB / 0.6942 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001836/0.5648, allocations: 439.3 kB / 0.6946 GB, free: 5.219 MB / 0.5294 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.001261/0.5661, allocations: 485.2 kB / 0.6951 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.5685, allocations: 0.8289 MB / 0.6959 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5685, allocations: 0 / 0.6959 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.5699, allocations: 439.5 kB / 0.6963 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/0.5738, allocations: 0.6897 MB / 0.697 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.5792, allocations: 2.772 MB / 0.6997 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009814/0.5802, allocations: 1.161 MB / 0.7008 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.5807, allocations: 119.4 kB / 0.7009 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.5807, allocations: 4 kB / 0.7009 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.05009/0.6308, allocations: 33.81 MB / 0.734 GB, free: 13.05 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)