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.00112/0.00112, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.457/1.457, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6928/0.6928, allocations: 115.5 MB / 407.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12.97 kB / 495.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1781, allocations: 77.52 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3814/0.5595, allocations: 65.04 MB / 0.6228 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02653/0.5861, allocations: 17.71 MB / 0.6401 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.5895, allocations: 60.28 kB / 0.6402 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.5917, allocations: 0.5256 MB / 0.6407 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008163/0.5998, allocations: 2.105 MB / 0.6427 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.6039, allocations: 1.083 MB / 0.6438 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006808/0.6107, allocations: 4.38 MB / 0.6481 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.6126, allocations: 1.016 MB / 0.6491 GB, free: 8.945 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.616, allocations: 1.327 MB / 0.6504 GB, free: 8.191 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.6177, allocations: 1.042 MB / 0.6514 GB, free: 7.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.6179, allocations: 56.38 kB / 0.6514 GB, free: 7.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.6205, allocations: 0.913 MB / 0.6523 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.6208, allocations: 244.5 kB / 0.6526 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.6213, allocations: 371.4 kB / 0.6529 GB, free: 6.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.6241, allocations: 2.299 MB / 0.6552 GB, free: 4.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6241, allocations: 0 / 0.6552 GB, free: 4.961 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6241, allocations: 0 / 0.6552 GB, free: 4.961 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.6241, allocations: 0 / 0.6552 GB, free: 4.961 MB / 478.1 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.003109/0.6272, allocations: 1.719 MB / 0.6568 GB, free: 3.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6273, allocations: 8.031 kB / 0.6569 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.6293, allocations: 0.4976 MB / 0.6573 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.632, allocations: 1.467 MB / 0.6588 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.6323, allocations: 153.9 kB / 0.6589 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6325, allocations: 104 kB / 0.659 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.6351, allocations: 1.305 MB / 0.6603 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6351, allocations: 0 / 0.6603 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.6352, allocations: 48 kB / 0.6603 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.6353, allocations: 28 kB / 0.6604 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.6378, allocations: 1.151 MB / 0.6615 GB, free: 14.27 MB / 494.1 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.00829/0.6461, allocations: 7.196 MB / 0.6685 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.6489, allocations: 0.8881 MB / 0.6694 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.6495, allocations: 302 kB / 0.6697 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.6508, allocations: 1.718 MB / 0.6713 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6509, allocations: 38.95 kB / 0.6714 GB, free: 3.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.6509, allocations: 0 / 0.6714 GB, free: 3.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.004355/0.6553, allocations: 1.448 MB / 0.6728 GB, free: 1.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6553, allocations: 55.84 kB / 0.6729 GB, free: 1.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.6576, allocations: 1.529 MB / 0.6743 GB, free: 156 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.6577, allocations: 37.7 kB / 0.6744 GB, free: 112 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.6583, allocations: 0.6614 MB / 0.675 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.6584, allocations: 169.6 kB / 0.6752 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.6585, allocations: 12 kB / 0.6752 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6586, allocations: 334 kB / 0.6755 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009002/0.6595, allocations: 385.8 kB / 0.6759 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.6607, allocations: 0.6588 MB / 0.6765 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009759/0.6616, allocations: 445.9 kB / 0.677 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.6617, allocations: 3.953 kB / 0.677 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002633/0.6643, allocations: 1.216 MB / 0.6781 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6643, allocations: 12.75 kB / 0.6782 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6644, allocations: 8 kB / 0.6782 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000799/0.6652, allocations: 224.6 kB / 0.6784 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.6659, allocations: 199.7 kB / 0.6786 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008132/0.6667, allocations: 0.7395 MB / 0.6793 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.6682, allocations: 262.7 kB / 0.6795 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/0.6683, allocations: 35.98 kB / 0.6796 GB, free: 10.62 MB / 0.4981 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 (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.0005881/0.6689, allocations: 353.6 kB / 0.6799 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.6691, allocations: 146.2 kB / 0.6801 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.6713, allocations: 1.18 MB / 0.6812 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.6714, allocations: 11.98 kB / 0.6812 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6714, allocations: 7.938 kB / 0.6812 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.6714, allocations: 3.984 kB / 0.6812 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.676, allocations: 2.58 MB / 0.6837 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.676, allocations: 3.953 kB / 0.6838 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.6764, allocations: 91.88 kB / 0.6838 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006884/0.6771, allocations: 224.8 kB / 0.6841 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.6771, allocations: 12 kB / 0.6841 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.6783, allocations: 0.8022 MB / 0.6848 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6783, allocations: 0 / 0.6848 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.6813, allocations: 1.289 MB / 0.6861 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.6818, allocations: 374.8 kB / 0.6865 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.682, allocations: 16 kB / 0.6865 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008228/0.6828, allocations: 95.91 kB / 0.6866 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.6829, allocations: 48.64 kB / 0.6866 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.683, allocations: 23.98 kB / 0.6866 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001706/0.6847, allocations: 1.078 MB / 0.6877 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6847, allocations: 0 / 0.6877 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001232/0.6859, allocations: 439.3 kB / 0.6881 GB, free: 1.699 MB / 0.4981 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 (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.0008124/0.6867, allocations: 451.7 kB / 0.6885 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.6887, allocations: 0.868 MB / 0.6894 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6887, allocations: 4 kB / 0.6894 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6899, allocations: 475.5 kB / 0.6898 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6927, allocations: 0.7115 MB / 0.6905 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6967, allocations: 2.713 MB / 0.6932 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.6975, allocations: 1.172 MB / 0.6943 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001065/0.6986, allocations: 264 kB / 0.6946 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.6988, allocations: 115.3 kB / 0.6947 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.6988, allocations: 0 / 0.6947 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.05009/0.7489, allocations: 29.02 MB / 0.723 GB, free: 14.21 MB / 0.545 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)