Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001344/0.001344, allocations: 100.5 kB / 16.39 MB, free: 6.383 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.001385/0.001385, allocations: 192.6 kB / 17.33 MB, free: 5.844 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 302.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 95.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.427, allocations: 86.97 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.147/0.574, allocations: 132.4 MB / 0.8964 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03699/0.611, allocations: 23.24 MB / 0.9191 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005395/0.6164, allocations: 127.2 kB / 0.9192 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004997/0.6214, allocations: 1.541 MB / 0.9207 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.634, allocations: 4.328 MB / 0.9249 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.6402, allocations: 2.18 MB / 0.9271 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.6516, allocations: 6.542 MB / 0.9334 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.6558, allocations: 1.914 MB / 0.9353 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00858/0.6644, allocations: 2.806 MB / 0.9381 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004628/0.669, allocations: 1.895 MB / 0.9399 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0009437/0.6699, allocations: 248 kB / 0.9401 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006195/0.6761, allocations: 1.942 MB / 0.942 GB, free: 160 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.6774, allocations: 0.6224 MB / 0.9426 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.6802, allocations: 1.458 MB / 0.9441 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009033/0.6892, allocations: 4.408 MB / 0.9484 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.6892, allocations: 4 kB / 0.9484 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6892, allocations: 0 / 0.9484 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.982e-05/0.6893, allocations: 0 / 0.9484 GB, free: 9.645 MB / 0.7169 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.00769/0.697, allocations: 3.278 MB / 0.9516 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6971, allocations: 8.031 kB / 0.9516 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.702, allocations: 0.8574 MB / 0.9524 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.7074, allocations: 2.341 MB / 0.9547 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.7075, allocations: 123 kB / 0.9548 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.7078, allocations: 164 kB / 0.955 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/0.7124, allocations: 1.919 MB / 0.9569 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.7124, allocations: 7.938 kB / 0.9569 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.7126, allocations: 64 kB / 0.9569 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.7126, allocations: 40 kB / 0.957 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4075/1.12, allocations: 1.793 MB / 0.9587 GB, free: 184 MB / 0.7169 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.01474/1.135, allocations: 9.012 MB / 0.9675 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/1.139, allocations: 1.15 MB / 0.9686 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/1.14, allocations: 429 kB / 0.969 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/1.141, allocations: 1.725 MB / 0.9707 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.141, allocations: 41.48 kB / 0.9708 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/1.141, allocations: 0 / 0.9708 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008687/1.15, allocations: 2.342 MB / 0.9731 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.15, allocations: 90.38 kB / 0.9731 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/1.153, allocations: 2.527 MB / 0.9756 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/1.153, allocations: 45.64 kB / 0.9757 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/1.154, allocations: 1.053 MB / 0.9767 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/1.154, allocations: 284 kB / 0.977 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/1.155, allocations: 261.5 kB / 0.9772 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/1.155, allocations: 341.8 kB / 0.9775 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.156, allocations: 0.5763 MB / 0.9781 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/1.158, allocations: 0.9474 MB / 0.979 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/1.161, allocations: 1.256 MB / 0.9802 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.161, allocations: 3.969 kB / 0.9802 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006191/1.167, allocations: 2.026 MB / 0.9822 GB, free: 169 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.167, allocations: 11.34 kB / 0.9822 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.167, allocations: 7.375 kB / 0.9822 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/1.169, allocations: 492.3 kB / 0.9827 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.17, allocations: 280.3 kB / 0.983 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/1.172, allocations: 1.522 MB / 0.9845 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.175, allocations: 386.1 kB / 0.9848 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.175, allocations: 59.97 kB / 0.9849 GB, free: 167 MB / 0.7169 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.0007964/1.176, allocations: 462.6 kB / 0.9853 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/1.176, allocations: 266.2 kB / 0.9856 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/1.179, allocations: 1.486 MB / 0.987 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.179, allocations: 19.98 kB / 0.9871 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.179, allocations: 0 / 0.9871 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.179, allocations: 3.984 kB / 0.9871 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/1.186, allocations: 3.614 MB / 0.9906 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.186, allocations: 4 kB / 0.9906 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/1.187, allocations: 129.6 kB / 0.9907 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/1.188, allocations: 489.6 kB / 0.9912 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/1.189, allocations: 27.97 kB / 0.9912 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/1.191, allocations: 1.588 MB / 0.9928 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.191, allocations: 4 kB / 0.9928 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/1.197, allocations: 1.948 MB / 0.9947 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.198, allocations: 0.4955 MB / 0.9952 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/1.198, allocations: 16 kB / 0.9952 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.2, allocations: 135.8 kB / 0.9953 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/1.2, allocations: 59.8 kB / 0.9954 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/1.2, allocations: 47.09 kB / 0.9954 GB, free: 156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002501/1.202, allocations: 1.775 MB / 0.9971 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.202, allocations: 0 / 0.9971 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002023/1.204, allocations: 0.6979 MB / 0.9978 GB, free: 153.6 MB / 0.7169 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.001044/1.205, allocations: 0.6223 MB / 0.9984 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003998/1.209, allocations: 1.303 MB / 0.9997 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/1.21, allocations: 0 / 0.9997 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.212, allocations: 0.6454 MB / 1 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006596/1.218, allocations: 1.326 MB / 1.002 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/1.225, allocations: 3.613 MB / 1.005 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/1.225, allocations: 1.49 MB / 1.007 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001779/1.227, allocations: 439.3 kB / 1.007 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.227, allocations: 171.4 kB / 1.007 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.227, allocations: 0 / 1.007 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.06726/1.295, allocations: 49.07 MB / 1.055 GB, free: 95.82 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)