Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001584/0.001583, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.001675/0.001676, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 300.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003529/0.003529, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4989, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07114/0.5701, allocations: 70.43 MB / 0.8358 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.5953, allocations: 18.94 MB / 0.8543 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.5984, allocations: 67.62 kB / 0.8544 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.601, allocations: 0.8385 MB / 0.8552 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008059/0.6091, allocations: 3.008 MB / 0.8581 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.6136, allocations: 1.653 MB / 0.8598 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005778/0.6194, allocations: 4.065 MB / 0.8637 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.622, allocations: 1.445 MB / 0.8651 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.6268, allocations: 1.813 MB / 0.8669 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.6293, allocations: 1.19 MB / 0.8681 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006215/0.63, allocations: 180 kB / 0.8682 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.6334, allocations: 1.404 MB / 0.8696 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.634, allocations: 390.6 kB / 0.87 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.6358, allocations: 0.9176 MB / 0.8709 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006351/0.6422, allocations: 3.119 MB / 0.8739 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.6422, allocations: 8 kB / 0.8739 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6422, allocations: 0 / 0.8739 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.832e-05/0.6423, allocations: 0 / 0.8739 GB, free: 6.109 MB / 0.6387 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.005528/0.6478, allocations: 2.034 MB / 0.8759 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.6479, allocations: 8.031 kB / 0.8759 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.6504, allocations: 442.4 kB / 0.8763 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.6538, allocations: 1.555 MB / 0.8779 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.6539, allocations: 82.03 kB / 0.8779 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.6541, allocations: 104 kB / 0.878 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.6569, allocations: 1.319 MB / 0.8793 GB, free: 356 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.657, allocations: 8 kB / 0.8793 GB, free: 348 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.6571, allocations: 40 kB / 0.8794 GB, free: 308 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.6571, allocations: 28 kB / 0.8794 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/0.66, allocations: 1.104 MB / 0.8805 GB, free: 15.16 MB / 0.6544 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.009154/0.6691, allocations: 7.493 MB / 0.8878 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.6724, allocations: 0.8073 MB / 0.8886 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.673, allocations: 286 kB / 0.8889 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.6744, allocations: 1.722 MB / 0.8905 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.6744, allocations: 43 kB / 0.8906 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 3.376e-06/0.6745, allocations: 0 / 0.8906 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.005007/0.6795, allocations: 1.342 MB / 0.8919 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.6795, allocations: 55.84 kB / 0.8919 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.6822, allocations: 1.549 MB / 0.8935 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.6823, allocations: 37.7 kB / 0.8935 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.6829, allocations: 0.6691 MB / 0.8941 GB, free: 192 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.6831, allocations: 169.5 kB / 0.8943 GB, free: 20 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.6834, allocations: 170.5 kB / 0.8945 GB, free: 15.85 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6835, allocations: 341.9 kB / 0.8948 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.6845, allocations: 361.8 kB / 0.8951 GB, free: 15.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.6858, allocations: 0.6623 MB / 0.8958 GB, free: 14.37 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.6877, allocations: 0.8868 MB / 0.8967 GB, free: 13.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.6877, allocations: 0 / 0.8967 GB, free: 13.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003125/0.6908, allocations: 1.193 MB / 0.8978 GB, free: 12.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.6909, allocations: 8 kB / 0.8978 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.6909, allocations: 8 kB / 0.8978 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.692, allocations: 220.6 kB / 0.898 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.6928, allocations: 195.7 kB / 0.8982 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.6939, allocations: 0.7162 MB / 0.8989 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.6955, allocations: 214.6 kB / 0.8991 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.6956, allocations: 43.98 kB / 0.8992 GB, free: 10.75 MB / 0.67 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.0006046/0.6962, allocations: 365.5 kB / 0.8995 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.6966, allocations: 146.2 kB / 0.8997 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.6991, allocations: 1.14 MB / 0.9008 GB, free: 9.082 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6991, allocations: 3.984 kB / 0.9008 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6991, allocations: 0 / 0.9008 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/0.6997, allocations: 346.9 kB / 0.9011 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.7, allocations: 12.09 kB / 0.9011 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/0.701, allocations: 79.84 kB / 0.9012 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.7011, allocations: 32.52 kB / 0.9012 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002661/0.7038, allocations: 0.9929 MB / 0.9022 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002556/0.7063, allocations: 1.419 MB / 0.9036 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006908/0.707, allocations: 344.4 kB / 0.9039 GB, free: 5.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001947/0.709, allocations: 1.086 MB / 0.905 GB, free: 4.738 MB / 0.67 GB Notification: Performance of Backend: time 5.31e-07/0.709, allocations: 0 / 0.905 GB, free: 4.738 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.7125, allocations: 1.079 MB / 0.906 GB, free: 3.676 MB / 0.67 GB Notification: Performance of SimCode: time 0.005855/0.7184, allocations: 3.161 MB / 0.9091 GB, free: 472 kB / 0.67 GB Notification: Performance of Templates: time 0.05365/0.772, allocations: 33.47 MB / 0.9418 GB, free: 15.37 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)