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.0008282/0.0008281, allocations: 98.5 kB / 16.02 MB, free: 80 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.0009362/0.0009362, allocations: 183.5 kB / 16.92 MB, free: 6.691 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6933/0.6933, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 12 kB / 495.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2054, allocations: 77.53 MB / 0.5599 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4205/0.626, allocations: 68.78 MB / 0.6271 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.6542, allocations: 18.79 MB / 0.6455 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.6581, allocations: 63.53 kB / 0.6455 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.6614, allocations: 0.6554 MB / 0.6462 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.6734, allocations: 2.608 MB / 0.6487 GB, free: 8.297 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006061/0.6794, allocations: 1.488 MB / 0.6502 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.6905, allocations: 5.016 MB / 0.6551 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.6933, allocations: 1.147 MB / 0.6562 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004833/0.6982, allocations: 1.452 MB / 0.6576 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.7008, allocations: 1.104 MB / 0.6587 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002314/0.7011, allocations: 56 kB / 0.6587 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.7048, allocations: 1.232 MB / 0.6599 GB, free: 332 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.7052, allocations: 262.6 kB / 0.6602 GB, free: 68 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.7065, allocations: 0.7944 MB / 0.661 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.7111, allocations: 2.967 MB / 0.6639 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7111, allocations: 0 / 0.6639 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7112, allocations: 0 / 0.6639 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.385e-05/0.7112, allocations: 0 / 0.6639 GB, free: 12.29 MB / 494.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.003596/0.7148, allocations: 1.709 MB / 0.6655 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.7149, allocations: 8.031 kB / 0.6655 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.7172, allocations: 0.4987 MB / 0.666 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.72, allocations: 1.512 MB / 0.6675 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.7204, allocations: 146 kB / 0.6676 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.7205, allocations: 100 kB / 0.6677 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.7233, allocations: 1.325 MB / 0.669 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.7234, allocations: 3.938 kB / 0.669 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.7235, allocations: 48 kB / 0.6691 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.7235, allocations: 24 kB / 0.6691 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.7263, allocations: 1.159 MB / 0.6702 GB, free: 5.547 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.009152/0.7355, allocations: 7.207 MB / 0.6773 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.7388, allocations: 0.8917 MB / 0.6781 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.7395, allocations: 298 kB / 0.6784 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.7409, allocations: 1.722 MB / 0.6801 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.741, allocations: 38.98 kB / 0.6801 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.741, allocations: 0 / 0.6801 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.005153/0.7462, allocations: 1.455 MB / 0.6816 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.7462, allocations: 55.84 kB / 0.6816 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.7488, allocations: 1.54 MB / 0.6831 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/0.7489, allocations: 37.7 kB / 0.6832 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.7495, allocations: 0.6575 MB / 0.6838 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.7497, allocations: 177.5 kB / 0.684 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.7498, allocations: 57.69 kB / 0.684 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.75, allocations: 330 kB / 0.6843 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.7511, allocations: 393.8 kB / 0.6847 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.7523, allocations: 0.6627 MB / 0.6854 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.7542, allocations: 0.8873 MB / 0.6862 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.7542, allocations: 3.938 kB / 0.6862 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004814/0.7591, allocations: 1.435 MB / 0.6876 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.7591, allocations: 12.75 kB / 0.6876 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7591, allocations: 8 kB / 0.6876 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/0.7601, allocations: 228.6 kB / 0.6879 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.7609, allocations: 195.7 kB / 0.6881 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009498/0.7618, allocations: 0.7318 MB / 0.6888 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.7638, allocations: 262.7 kB / 0.689 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.764, allocations: 43.98 kB / 0.6891 GB, free: 1.035 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 (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.0008261/0.7648, allocations: 353.6 kB / 0.6894 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.7651, allocations: 146.2 kB / 0.6895 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.7678, allocations: 1.171 MB / 0.6907 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.7679, allocations: 15.92 kB / 0.6907 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.7679, allocations: 8 kB / 0.6907 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.7679, allocations: 7.875 kB / 0.6907 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00576/0.7737, allocations: 2.584 MB / 0.6932 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.7737, allocations: 4 kB / 0.6932 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.7741, allocations: 91.86 kB / 0.6933 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/0.775, allocations: 224.8 kB / 0.6935 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.7751, allocations: 16 kB / 0.6936 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.7765, allocations: 0.8021 MB / 0.6943 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.7765, allocations: 4.031 kB / 0.6943 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.7802, allocations: 1.289 MB / 0.6956 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.781, allocations: 379 kB / 0.696 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.7812, allocations: 16 kB / 0.696 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.7822, allocations: 103.8 kB / 0.6961 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7823, allocations: 48.44 kB / 0.6961 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.7824, allocations: 27.98 kB / 0.6961 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001958/0.7843, allocations: 1.082 MB / 0.6972 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7843, allocations: 0 / 0.6972 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001533/0.7859, allocations: 439.4 kB / 0.6976 GB, free: 8.086 MB / 0.5137 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.001048/0.7869, allocations: 471.2 kB / 0.6981 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.7892, allocations: 0.868 MB / 0.6989 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7892, allocations: 256 / 0.6989 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.7906, allocations: 475.2 kB / 0.6994 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/0.7946, allocations: 0.7142 MB / 0.7001 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.7993, allocations: 2.785 MB / 0.7028 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.8001, allocations: 1.176 MB / 0.7039 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001265/0.8014, allocations: 267.8 kB / 0.7042 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.8017, allocations: 115.4 kB / 0.7043 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.8017, allocations: 0 / 0.7043 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of Templates: time 0.05296/0.8546, allocations: 30.45 MB / 0.734 GB, free: 3.059 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)