Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0008496/0.0008496, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.007614/0.007615, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 252 MB / 0.5105 GB, free: 4.621 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005104, allocations: 16 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5505, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06822/0.6188, allocations: 68.86 MB / 0.796 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.6426, allocations: 18.65 MB / 0.8142 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.6455, allocations: 63.56 kB / 0.8142 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.648, allocations: 0.6527 MB / 0.8149 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008463/0.6565, allocations: 2.59 MB / 0.8174 GB, free: 148 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.6609, allocations: 1.507 MB / 0.8189 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006724/0.6676, allocations: 5.005 MB / 0.8238 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/0.6701, allocations: 1.144 MB / 0.8249 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.6741, allocations: 1.446 MB / 0.8263 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.6765, allocations: 1.108 MB / 0.8274 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.6769, allocations: 60 kB / 0.8274 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.68, allocations: 1.193 MB / 0.8286 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.6806, allocations: 262.7 kB / 0.8289 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.6821, allocations: 0.8099 MB / 0.8296 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.6866, allocations: 2.956 MB / 0.8325 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6867, allocations: 0 / 0.8325 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6867, allocations: 0 / 0.8325 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.116e-05/0.6868, allocations: 0 / 0.8325 GB, free: 0.5781 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.003658/0.6904, allocations: 1.715 MB / 0.8342 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.6905, allocations: 16.02 kB / 0.8342 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.693, allocations: 498.5 kB / 0.8347 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.6959, allocations: 1.528 MB / 0.8362 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/0.6963, allocations: 150 kB / 0.8363 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.6966, allocations: 104 kB / 0.8364 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.6995, allocations: 1.319 MB / 0.8377 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6995, allocations: 0 / 0.8377 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.6996, allocations: 47.98 kB / 0.8378 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.6997, allocations: 24 kB / 0.8378 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.7027, allocations: 1.179 MB / 0.8389 GB, free: 9.805 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.009817/0.7126, allocations: 6.937 MB / 0.8457 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.7161, allocations: 0.9342 MB / 0.8466 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.7168, allocations: 317.9 kB / 0.8469 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.7183, allocations: 1.722 MB / 0.8486 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.7183, allocations: 43 kB / 0.8487 GB, free: 14.99 MB / 0.67 GB Notification: Performance of pre-optimization done (n=52): time 2.245e-06/0.7183, allocations: 0 / 0.8487 GB, free: 14.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=52): time 0.005232/0.7236, allocations: 1.494 MB / 0.8501 GB, free: 13.47 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.7236, allocations: 55.84 kB / 0.8502 GB, free: 13.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.7266, allocations: 1.537 MB / 0.8517 GB, free: 11.86 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.7267, allocations: 37.7 kB / 0.8517 GB, free: 11.81 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.7273, allocations: 0.6615 MB / 0.8523 GB, free: 11.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.7275, allocations: 181.4 kB / 0.8525 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.7277, allocations: 65.67 kB / 0.8526 GB, free: 10.89 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7278, allocations: 330 kB / 0.8529 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.7289, allocations: 401.8 kB / 0.8533 GB, free: 10.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.7302, allocations: 0.6822 MB / 0.8539 GB, free: 9.375 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.7321, allocations: 0.9225 MB / 0.8548 GB, free: 8.359 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7322, allocations: 0 / 0.8548 GB, free: 8.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004646/0.7368, allocations: 1.474 MB / 0.8563 GB, free: 6.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.7369, allocations: 12.12 kB / 0.8563 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.7369, allocations: 8 kB / 0.8563 GB, free: 6.855 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009459/0.7378, allocations: 232.5 kB / 0.8565 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/0.7387, allocations: 203.7 kB / 0.8567 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009406/0.7396, allocations: 0.7279 MB / 0.8574 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.7415, allocations: 266.7 kB / 0.8577 GB, free: 5.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.7416, allocations: 43.98 kB / 0.8577 GB, free: 5.367 MB / 0.67 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 (82): * Single equations (assignments): 81 * 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.0006826/0.7423, allocations: 364.5 kB / 0.8581 GB, free: 5.004 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.7426, allocations: 154.1 kB / 0.8582 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.7454, allocations: 1.215 MB / 0.8594 GB, free: 3.613 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.7454, allocations: 8 kB / 0.8594 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7454, allocations: 3.938 kB / 0.8594 GB, free: 3.602 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.7454, allocations: 3.984 kB / 0.8594 GB, free: 3.598 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/0.7512, allocations: 2.662 MB / 0.862 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7512, allocations: 0 / 0.862 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.7516, allocations: 99.86 kB / 0.8621 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008116/0.7524, allocations: 228.7 kB / 0.8623 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.7525, allocations: 12 kB / 0.8623 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.7538, allocations: 0.81 MB / 0.8631 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7539, allocations: 4.031 kB / 0.8631 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.7576, allocations: 1.324 MB / 0.8644 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/0.7584, allocations: 378.9 kB / 0.8648 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.7588, allocations: 16 kB / 0.8648 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.76, allocations: 103.8 kB / 0.8649 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.7601, allocations: 52.38 kB / 0.865 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.7602, allocations: 27.98 kB / 0.865 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002495/0.7627, allocations: 1.086 MB / 0.866 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7627, allocations: 0 / 0.866 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001838/0.7645, allocations: 439.3 kB / 0.8665 GB, free: 12.21 MB / 0.6856 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 (56): * Single equations (assignments): 45 * 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.001294/0.7658, allocations: 459.5 kB / 0.8669 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.7685, allocations: 0.9069 MB / 0.8678 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.7686, allocations: 0 / 0.8678 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.77, allocations: 0.4918 MB / 0.8683 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/0.7742, allocations: 0.7305 MB / 0.869 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.7793, allocations: 2.811 MB / 0.8717 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.7801, allocations: 1.176 MB / 0.8729 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001345/0.7815, allocations: 279.5 kB / 0.8731 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.7818, allocations: 119.4 kB / 0.8733 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of SimCode: time 1.222e-06/0.7818, allocations: 0 / 0.8733 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of Templates: time 0.05296/0.8348, allocations: 31.04 MB / 0.9036 GB, free: 6.523 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: