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.001457/0.001457, allocations: 115 kB / 17.09 MB, free: 5.953 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.001759/0.001759, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.469/1.469, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.933/0.933, allocations: 126.1 MB / 417.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 70.92 kB / 0.5737 GB, free: 27.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2057, allocations: 78.69 MB / 0.6506 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07071/0.2765, allocations: 70.43 MB / 0.7194 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.3025, allocations: 18.94 MB / 0.7379 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.3056, allocations: 67.62 kB / 0.7379 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.3086, allocations: 0.8423 MB / 0.7388 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008885/0.3175, allocations: 3.004 MB / 0.7417 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004814/0.3224, allocations: 1.664 MB / 0.7433 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006599/0.329, allocations: 4.054 MB / 0.7473 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.424/0.753, allocations: 1.44 MB / 0.7487 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.7585, allocations: 1.805 MB / 0.7504 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.7623, allocations: 1.187 MB / 0.7516 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006215/0.763, allocations: 178.2 kB / 0.7518 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.7673, allocations: 1.411 MB / 0.7531 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.768, allocations: 384.9 kB / 0.7535 GB, free: 21.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002134/0.7701, allocations: 0.9196 MB / 0.7544 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00671/0.7768, allocations: 3.111 MB / 0.7574 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.7769, allocations: 1.109 kB / 0.7574 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7769, allocations: 0 / 0.7574 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.783e-05/0.777, allocations: 5.062 kB / 0.7575 GB, free: 21.26 MB / 0.5762 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.004677/0.7816, allocations: 2.085 MB / 0.7595 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7817, allocations: 11.28 kB / 0.7595 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.7841, allocations: 450.9 kB / 0.7599 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.7869, allocations: 1.564 MB / 0.7615 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.7869, allocations: 82.72 kB / 0.7615 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.7871, allocations: 103.7 kB / 0.7616 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.7895, allocations: 1.316 MB / 0.7629 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.7896, allocations: 5.719 kB / 0.7629 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.7897, allocations: 46.78 kB / 0.763 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.7897, allocations: 30.41 kB / 0.763 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.7924, allocations: 1.094 MB / 0.7641 GB, free: 19.36 MB / 0.5762 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.007877/0.8003, allocations: 7.515 MB / 0.7714 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.8034, allocations: 0.8021 MB / 0.7722 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.804, allocations: 282.2 kB / 0.7725 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000866/0.8049, allocations: 1.725 MB / 0.7741 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.8049, allocations: 43.09 kB / 0.7742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.574e-06/0.8049, allocations: 0 / 0.7742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004612/0.8095, allocations: 1.343 MB / 0.7755 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.8096, allocations: 56.78 kB / 0.7756 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.8118, allocations: 1.546 MB / 0.7771 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.8119, allocations: 37.61 kB / 0.7771 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.8124, allocations: 0.6787 MB / 0.7778 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.8125, allocations: 181 kB / 0.7779 GB, free: 12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.8128, allocations: 179.5 kB / 0.7781 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.8129, allocations: 331.8 kB / 0.7784 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009074/0.8138, allocations: 364.5 kB / 0.7788 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.8149, allocations: 0.6548 MB / 0.7794 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.8166, allocations: 0.8894 MB / 0.7803 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8166, allocations: 6.562 kB / 0.7803 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00301/0.8196, allocations: 1.199 MB / 0.7815 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.8197, allocations: 12.33 kB / 0.7815 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.8197, allocations: 10.09 kB / 0.7815 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/0.8206, allocations: 212.8 kB / 0.7817 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.8213, allocations: 198.4 kB / 0.7819 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007131/0.8221, allocations: 0.7182 MB / 0.7826 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.8237, allocations: 215.9 kB / 0.7828 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.8238, allocations: 50.2 kB / 0.7828 GB, free: 10.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0006119/0.8244, allocations: 357.5 kB / 0.7832 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.8247, allocations: 153.8 kB / 0.7833 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.827, allocations: 1.151 MB / 0.7844 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.827, allocations: 2.531 kB / 0.7844 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.827, allocations: 1.594 kB / 0.7844 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/0.8276, allocations: 355.1 kB / 0.7848 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.8278, allocations: 13.75 kB / 0.7848 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.8287, allocations: 70.19 kB / 0.7849 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.8288, allocations: 38.31 kB / 0.7849 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00225/0.831, allocations: 0.9882 MB / 0.7859 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002191/0.8332, allocations: 1.43 MB / 0.7873 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006442/0.8339, allocations: 348.7 kB / 0.7876 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001891/0.8358, allocations: 1.087 MB / 0.7886 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of Backend: time 4.5e-07/0.8358, allocations: 0 / 0.7886 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003771/0.8396, allocations: 1.074 MB / 0.7897 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005001/0.8446, allocations: 3.229 MB / 0.7928 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of Templates: time 0.05237/0.897, allocations: 33.45 MB / 0.8255 GB, free: 172 kB / 0.5919 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)