Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005385/0.005385, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.00119/0.00119, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.644/1.644, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.002623/0.002623, allocations: 74.08 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2631, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7528/1.016, allocations: 132.2 MB / 0.9572 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03488/1.051, allocations: 22.96 MB / 0.9796 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007114/1.058, allocations: 121.5 kB / 0.9797 GB, free: 12 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005119/1.063, allocations: 1.538 MB / 0.9812 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0143/1.077, allocations: 4.279 MB / 0.9854 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006848/1.084, allocations: 2.208 MB / 0.9876 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01321/1.098, allocations: 6.54 MB / 0.9939 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/1.102, allocations: 2.357 MB / 0.9963 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008683/1.111, allocations: 2.757 MB / 0.9989 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005053/1.116, allocations: 1.907 MB / 1.001 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008222/1.117, allocations: 247.6 kB / 1.001 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006224/1.123, allocations: 1.863 MB / 1.003 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008859/1.124, allocations: 0.6024 MB / 1.003 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003283/1.127, allocations: 1.454 MB / 1.005 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.138, allocations: 4.352 MB / 1.009 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.138, allocations: 0 / 1.009 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.572e-06/1.138, allocations: 0 / 1.009 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001057/1.138, allocations: 0 / 1.009 GB, free: 8.867 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009138/1.147, allocations: 3.18 MB / 1.012 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.147, allocations: 8.031 kB / 1.012 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005323/1.152, allocations: 0.8366 MB / 1.013 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008468/1.161, allocations: 2.327 MB / 1.015 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/1.161, allocations: 123 kB / 1.015 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/1.162, allocations: 160 kB / 1.016 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005964/1.168, allocations: 1.928 MB / 1.017 GB, free: 84 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/1.168, allocations: 4 kB / 1.017 GB, free: 80 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/1.168, allocations: 60 kB / 1.018 GB, free: 20 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/1.168, allocations: 40.05 kB / 1.018 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/1.174, allocations: 1.799 MB / 1.019 GB, free: 14.18 MB / 0.7637 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.01765/1.191, allocations: 8.978 MB / 1.028 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/1.196, allocations: 1.191 MB / 1.029 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/1.197, allocations: 462.2 kB / 1.03 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/1.198, allocations: 1.726 MB / 1.031 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/1.198, allocations: 38.56 kB / 1.031 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/1.198, allocations: 3.938 kB / 1.031 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.008739/1.207, allocations: 2.337 MB / 1.034 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.207, allocations: 85.11 kB / 1.034 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006203/1.213, allocations: 2.528 MB / 1.036 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/1.214, allocations: 45.7 kB / 1.036 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.215, allocations: 1.042 MB / 1.037 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/1.215, allocations: 280.1 kB / 1.038 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/1.216, allocations: 250.6 kB / 1.038 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.216, allocations: 341.9 kB / 1.038 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/1.218, allocations: 0.5647 MB / 1.039 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.22, allocations: 0.9538 MB / 1.04 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.223, allocations: 1.234 MB / 1.041 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.223, allocations: 4 kB / 1.041 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008782/1.232, allocations: 2.301 MB / 1.043 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/1.232, allocations: 8 kB / 1.043 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/1.232, allocations: 15.94 kB / 1.043 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/1.234, allocations: 497.6 kB / 1.044 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.235, allocations: 275.5 kB / 1.044 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/1.237, allocations: 1.514 MB / 1.045 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.241, allocations: 371.9 kB / 1.046 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/1.241, allocations: 55.97 kB / 1.046 GB, free: 1.656 MB / 0.7794 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001742/1.243, allocations: 469.3 kB / 1.046 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.244, allocations: 248.8 kB / 1.046 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/1.249, allocations: 1.501 MB / 1.048 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.249, allocations: 11.98 kB / 1.048 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.249, allocations: 3.938 kB / 1.048 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.249, allocations: 3.984 kB / 1.048 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009519/1.259, allocations: 3.595 MB / 1.051 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.259, allocations: 4 kB / 1.051 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/1.26, allocations: 136.1 kB / 1.052 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.261, allocations: 485.1 kB / 1.052 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.855e-05/1.261, allocations: 35.91 kB / 1.052 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/1.264, allocations: 1.576 MB / 1.054 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.264, allocations: 8.125 kB / 1.054 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006147/1.27, allocations: 1.948 MB / 1.056 GB, free: 7.406 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.272, allocations: 493.5 kB / 1.056 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008265/1.273, allocations: 23.91 kB / 1.056 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.275, allocations: 135.8 kB / 1.056 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.275, allocations: 59.8 kB / 1.056 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.275, allocations: 43.97 kB / 1.056 GB, free: 6.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004527/1.28, allocations: 1.773 MB / 1.058 GB, free: 4.867 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.01e-07/1.28, allocations: 0 / 1.058 GB, free: 4.867 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002925/1.283, allocations: 0.6672 MB / 1.059 GB, free: 4.199 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/1.284, allocations: 0.5876 MB / 1.059 GB, free: 3.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004293/1.289, allocations: 1.33 MB / 1.06 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.289, allocations: 8.188 kB / 1.06 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/1.291, allocations: 0.6778 MB / 1.061 GB, free: 1.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007149/1.298, allocations: 1.348 MB / 1.062 GB, free: 276 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/1.306, allocations: 3.557 MB / 1.066 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/1.308, allocations: 1.497 MB / 1.067 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0023/1.31, allocations: 434.4 kB / 1.068 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/1.311, allocations: 167.4 kB / 1.068 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of SimCode: time 8.11e-07/1.311, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of Templates: time 0.08503/1.396, allocations: 48.8 MB / 1.116 GB, free: 10.4 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)