Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00117/0.00117, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001116/0.001116, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.614/1.614, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.001424/0.001424, allocations: 71.89 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 114.5 MB / 0.7841 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6278/0.8699, allocations: 132.3 MB / 0.9132 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03691/0.9069, allocations: 23.03 MB / 0.9357 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00619/0.9132, allocations: 123.2 kB / 0.9358 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.9185, allocations: 1.483 MB / 0.9373 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.9331, allocations: 4.072 MB / 0.9413 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00649/0.9396, allocations: 2.199 MB / 0.9434 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.9513, allocations: 6.502 MB / 0.9498 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004578/0.9559, allocations: 2.364 MB / 0.9521 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007883/0.9638, allocations: 2.773 MB / 0.9548 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.9682, allocations: 1.882 MB / 0.9566 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007131/0.969, allocations: 248 kB / 0.9569 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005517/0.9745, allocations: 1.946 MB / 0.9588 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000859/0.9754, allocations: 0.6031 MB / 0.9593 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/0.9779, allocations: 1.462 MB / 0.9608 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00792/0.9858, allocations: 4.386 MB / 0.9651 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.9859, allocations: 0 / 0.9651 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.509e-06/0.9859, allocations: 0 / 0.9651 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.9859, allocations: 3.938 kB / 0.9651 GB, free: 1.473 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.006072/0.992, allocations: 3.188 MB / 0.9682 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9921, allocations: 12.03 kB / 0.9682 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.9962, allocations: 0.8474 MB / 0.969 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/1, allocations: 2.203 MB / 0.9712 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008996/1.001, allocations: 298.8 kB / 0.9714 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/1.001, allocations: 163.9 kB / 0.9716 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/1.005, allocations: 1.938 MB / 0.9735 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/1.005, allocations: 0 / 0.9735 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/1.006, allocations: 67.94 kB / 0.9736 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/1.006, allocations: 36 kB / 0.9736 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/1.01, allocations: 1.827 MB / 0.9754 GB, free: 6.676 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.01376/1.024, allocations: 9.019 MB / 0.9842 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/1.028, allocations: 1.189 MB / 0.9853 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.029, allocations: 458.1 kB / 0.9858 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/1.031, allocations: 1.727 MB / 0.9875 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.031, allocations: 46.48 kB / 0.9875 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 4.027e-06/1.031, allocations: 0 / 0.9875 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.008299/1.039, allocations: 2.341 MB / 0.9898 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.039, allocations: 85.11 kB / 0.9899 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/1.043, allocations: 2.536 MB / 0.9924 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/1.043, allocations: 49.7 kB / 0.9924 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/1.044, allocations: 1.045 MB / 0.9934 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/1.045, allocations: 276.1 kB / 0.9937 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/1.045, allocations: 258.6 kB / 0.9939 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.045, allocations: 353.9 kB / 0.9943 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.047, allocations: 0.588 MB / 0.9948 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/1.049, allocations: 0.966 MB / 0.9958 GB, free: 496 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/1.052, allocations: 1.256 MB / 0.997 GB, free: 15.12 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.052, allocations: 6.125 kB / 0.997 GB, free: 15.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006667/1.058, allocations: 2.048 MB / 0.999 GB, free: 13.05 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.058, allocations: 8 kB / 0.999 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.058, allocations: 8 kB / 0.999 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/1.06, allocations: 0.4898 MB / 0.9995 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.062, allocations: 287.6 kB / 0.9998 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/1.064, allocations: 1.518 MB / 1.001 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/1.067, allocations: 387.4 kB / 1.002 GB, free: 10.31 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.067, allocations: 63.97 kB / 1.002 GB, free: 10.25 MB / 0.795 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 (111): * Single equations (assignments): 109 * 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.001023/1.068, allocations: 458.5 kB / 1.002 GB, free: 9.789 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000755/1.069, allocations: 252.8 kB / 1.002 GB, free: 9.539 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/1.072, allocations: 1.501 MB / 1.004 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/1.072, allocations: 16 kB / 1.004 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.072, allocations: 0 / 1.004 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.072, allocations: 7.922 kB / 1.004 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008494/1.081, allocations: 3.619 MB / 1.007 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.081, allocations: 4 kB / 1.007 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/1.082, allocations: 131.8 kB / 1.008 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/1.083, allocations: 489.2 kB / 1.008 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/1.083, allocations: 31.86 kB / 1.008 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/1.086, allocations: 1.586 MB / 1.01 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.086, allocations: 4 kB / 1.01 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/1.092, allocations: 1.945 MB / 1.011 GB, free: 0 / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.093, allocations: 489.6 kB / 1.012 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006076/1.094, allocations: 23.91 kB / 1.012 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.096, allocations: 147.8 kB / 1.012 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.096, allocations: 55.86 kB / 1.012 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.096, allocations: 39.97 kB / 1.012 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003912/1.1, allocations: 1.793 MB / 1.014 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.62e-07/1.1, allocations: 0 / 1.014 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002808/1.103, allocations: 0.6945 MB / 1.015 GB, free: 12.75 MB / 0.8106 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.001471/1.104, allocations: 0.6162 MB / 1.015 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004444/1.109, allocations: 1.374 MB / 1.017 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.109, allocations: 0 / 1.017 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/1.111, allocations: 0.6749 MB / 1.017 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007695/1.119, allocations: 1.345 MB / 1.019 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/1.128, allocations: 3.55 MB / 1.022 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.13, allocations: 1.489 MB / 1.023 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002452/1.132, allocations: 438.8 kB / 1.024 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/1.133, allocations: 171.4 kB / 1.024 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of SimCode: time 9.62e-07/1.133, allocations: 0 / 1.024 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of Templates: time 0.09422/1.227, allocations: 51.59 MB / 1.074 GB, free: 204 kB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)