Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7174/0.7174, allocations: 128.7 MB / 144.5 MB, free: 1.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 181.8 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001577/0.001578, allocations: 98.28 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 51.45 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 75.48 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05734/0.1819, allocations: 75.04 MB / 0.705 GB, free: 5.762 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.2035, allocations: 18.92 MB / 0.7234 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.206, allocations: 59.62 kB / 0.7235 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.2082, allocations: 0.6839 MB / 0.7242 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.215, allocations: 2.675 MB / 0.7268 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.2187, allocations: 1.455 MB / 0.7282 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.2243, allocations: 5.242 MB / 0.7333 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.2259, allocations: 1.199 MB / 0.7345 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.2289, allocations: 1.618 MB / 0.7361 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.2307, allocations: 1.229 MB / 0.7373 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.2309, allocations: 80 kB / 0.7373 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.2334, allocations: 1.127 MB / 0.7384 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.2338, allocations: 290.6 kB / 0.7387 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0009816/0.2347, allocations: 0.8512 MB / 0.7395 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2756/0.5103, allocations: 3.214 MB / 0.7427 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5104, allocations: 0.7969 kB / 0.7427 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.025e-06/0.5104, allocations: 0.9688 kB / 0.7427 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.702e-05/0.5105, allocations: 3.719 kB / 0.7427 GB, free: 29.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003915/0.5144, allocations: 2.06 MB / 0.7447 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5145, allocations: 9.812 kB / 0.7447 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.5168, allocations: 460.4 kB / 0.7452 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.5198, allocations: 1.542 MB / 0.7467 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004994/0.5204, allocations: 142.7 kB / 0.7468 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.5206, allocations: 110.3 kB / 0.7469 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.5236, allocations: 1.383 MB / 0.7483 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.5236, allocations: 7.188 kB / 0.7483 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5238, allocations: 47.88 kB / 0.7483 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.5238, allocations: 31.7 kB / 0.7483 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.5265, allocations: 1.153 MB / 0.7495 GB, free: 27.87 MB / 0.5105 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.007963/0.5345, allocations: 7.625 MB / 0.7569 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.5375, allocations: 0.7727 MB / 0.7577 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.5381, allocations: 248 kB / 0.7579 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007674/0.5389, allocations: 1.398 MB / 0.7593 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5389, allocations: 39.69 kB / 0.7593 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.5389, allocations: 2.062 kB / 0.7593 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.004669/0.5436, allocations: 1.283 MB / 0.7606 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.5436, allocations: 55.7 kB / 0.7606 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.5461, allocations: 1.601 MB / 0.7622 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/0.5462, allocations: 37.73 kB / 0.7622 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.5467, allocations: 0.7333 MB / 0.7629 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5468, allocations: 157.6 kB / 0.7631 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.5471, allocations: 176.8 kB / 0.7632 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.5471, allocations: 339.6 kB / 0.7636 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/0.5481, allocations: 371.4 kB / 0.7639 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.5493, allocations: 0.7123 MB / 0.7646 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.551, allocations: 0.9303 MB / 0.7655 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.551, allocations: 2.281 kB / 0.7655 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003234/0.5542, allocations: 1.245 MB / 0.7667 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5543, allocations: 13.16 kB / 0.7668 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5543, allocations: 13.02 kB / 0.7668 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/0.5552, allocations: 225.4 kB / 0.767 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.556, allocations: 209.8 kB / 0.7672 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007211/0.5567, allocations: 0.7097 MB / 0.7679 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.5585, allocations: 251.4 kB / 0.7681 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.5586, allocations: 45.3 kB / 0.7682 GB, free: 19.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (90): * Single equations (assignments): 89 * 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.0006129/0.5592, allocations: 379.6 kB / 0.7685 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5595, allocations: 151.6 kB / 0.7687 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5618, allocations: 1.016 MB / 0.7697 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5618, allocations: 8.703 kB / 0.7697 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5618, allocations: 2.625 kB / 0.7697 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5618, allocations: 10.14 kB / 0.7697 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/0.5663, allocations: 2.195 MB / 0.7718 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.5663, allocations: 1.5 kB / 0.7718 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.5666, allocations: 75.03 kB / 0.7719 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/0.5673, allocations: 215 kB / 0.7721 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.5674, allocations: 15.59 kB / 0.7721 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.5685, allocations: 0.7672 MB / 0.7729 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5685, allocations: 7.672 kB / 0.7729 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/0.5728, allocations: 2.262 MB / 0.7751 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.5733, allocations: 335.9 kB / 0.7754 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.5735, allocations: 14.28 kB / 0.7754 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/0.5744, allocations: 84.61 kB / 0.7755 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.5745, allocations: 34.16 kB / 0.7755 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.5745, allocations: 19.22 kB / 0.7755 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001626/0.5762, allocations: 1.15 MB / 0.7767 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5762, allocations: 1.641 kB / 0.7767 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001325/0.5775, allocations: 432.3 kB / 0.7771 GB, free: 16.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0007162/0.5782, allocations: 426.9 kB / 0.7775 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.5803, allocations: 0.8129 MB / 0.7783 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5804, allocations: 0.5625 kB / 0.7783 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.5816, allocations: 387.2 kB / 0.7787 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/0.5854, allocations: 0.7553 MB / 0.7794 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.5892, allocations: 3.025 MB / 0.7823 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.5897, allocations: 1.186 MB / 0.7835 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001197/0.5909, allocations: 274.8 kB / 0.7838 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.5912, allocations: 113.7 kB / 0.7839 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.5912, allocations: 0 / 0.7839 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.04492/0.6361, allocations: 31.67 MB / 0.8148 GB, free: 8.5 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)