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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7658/0.7658, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 176.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.000962, allocations: 115 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001891/0.001891, allocations: 272.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 79.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1131/0.4101, allocations: 131.3 MB / 0.8962 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3017/0.7118, allocations: 23.28 MB / 0.9189 GB, free: 39.28 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004801/0.7167, allocations: 113 kB / 0.919 GB, free: 39.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.7206, allocations: 1.205 MB / 0.9202 GB, free: 39.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.7314, allocations: 3.762 MB / 0.9239 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005094/0.7365, allocations: 1.999 MB / 0.9258 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.009877/0.7464, allocations: 8.325 MB / 0.9339 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.7497, allocations: 1.98 MB / 0.9359 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.7548, allocations: 2.404 MB / 0.9382 GB, free: 38.37 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.7581, allocations: 1.87 MB / 0.94 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006632/0.7588, allocations: 122.3 kB / 0.9402 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.7638, allocations: 1.743 MB / 0.9419 GB, free: 37.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008275/0.7647, allocations: 496 kB / 0.9423 GB, free: 37.62 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002686/0.7674, allocations: 1.331 MB / 0.9436 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.7742, allocations: 4.253 MB / 0.9478 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7742, allocations: 0 / 0.9478 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7742, allocations: 0 / 0.9478 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001169/0.7743, allocations: 3.938 kB / 0.9478 GB, free: 36.09 MB / 0.5573 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.006247/0.7806, allocations: 3.195 MB / 0.9509 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7806, allocations: 8.438 kB / 0.9509 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/0.7849, allocations: 0.8424 MB / 0.9517 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.7885, allocations: 2.265 MB / 0.954 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009369/0.7895, allocations: 290.9 kB / 0.9542 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.7897, allocations: 163.4 kB / 0.9544 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.7933, allocations: 1.938 MB / 0.9563 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.7933, allocations: 0 / 0.9563 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.7935, allocations: 65.84 kB / 0.9563 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.7935, allocations: 38.34 kB / 0.9564 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004483/0.798, allocations: 1.825 MB / 0.9582 GB, free: 29.73 MB / 0.5573 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.01023/0.8083, allocations: 9.047 MB / 0.967 GB, free: 21.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.8122, allocations: 1.194 MB / 0.9682 GB, free: 19.99 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.8132, allocations: 460.1 kB / 0.9686 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.814, allocations: 1.716 MB / 0.9703 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.814, allocations: 46.5 kB / 0.9703 GB, free: 17.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.814, allocations: 0 / 0.9703 GB, free: 17.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.008061/0.8221, allocations: 2.342 MB / 0.9726 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.8221, allocations: 85.11 kB / 0.9727 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.8255, allocations: 2.528 MB / 0.9752 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.8256, allocations: 45.7 kB / 0.9752 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.8263, allocations: 1.052 MB / 0.9762 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.8265, allocations: 270.3 kB / 0.9765 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.8269, allocations: 258.6 kB / 0.9767 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.8269, allocations: 341.9 kB / 0.9771 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.8286, allocations: 0.5881 MB / 0.9776 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.8305, allocations: 0.9749 MB / 0.9786 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/0.8332, allocations: 1.254 MB / 0.9798 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.8332, allocations: 7.938 kB / 0.9798 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006531/0.8398, allocations: 2.056 MB / 0.9818 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.8398, allocations: 8 kB / 0.9818 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.8399, allocations: 8.625 kB / 0.9818 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.8419, allocations: 0.4892 MB / 0.9823 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.8432, allocations: 291.6 kB / 0.9826 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.845, allocations: 1.512 MB / 0.9841 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.8483, allocations: 445.9 kB / 0.9845 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.8485, allocations: 59.97 kB / 0.9846 GB, free: 2.371 MB / 0.5573 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.0008982/0.8494, allocations: 457.5 kB / 0.985 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/0.85, allocations: 248.9 kB / 0.9852 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.8535, allocations: 1.517 MB / 0.9867 GB, free: 144 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.8535, allocations: 8 kB / 0.9867 GB, free: 136 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8535, allocations: 0 / 0.9867 GB, free: 136 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.8536, allocations: 3.984 kB / 0.9867 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008367/0.8619, allocations: 3.606 MB / 0.9902 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.862, allocations: 4 kB / 0.9902 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.8626, allocations: 132.1 kB / 0.9904 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.8643, allocations: 489.1 kB / 0.9908 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.8644, allocations: 23.98 kB / 0.9909 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.8671, allocations: 1.594 MB / 0.9924 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8671, allocations: 4 kB / 0.9924 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00885/0.876, allocations: 3.522 MB / 0.9959 GB, free: 6.543 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.8772, allocations: 489.6 kB / 0.9963 GB, free: 6.043 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/0.8777, allocations: 20.19 kB / 0.9964 GB, free: 6.023 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.8798, allocations: 175.7 kB / 0.9965 GB, free: 5.852 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.8799, allocations: 59.75 kB / 0.9966 GB, free: 5.793 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.8801, allocations: 43.95 kB / 0.9966 GB, free: 5.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003416/0.8835, allocations: 1.777 MB / 0.9984 GB, free: 3.969 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8835, allocations: 0 / 0.9984 GB, free: 3.969 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002363/0.8859, allocations: 0.7061 MB / 0.999 GB, free: 3.262 MB / 0.573 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.001286/0.8872, allocations: 0.6003 MB / 0.9996 GB, free: 2.703 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004425/0.8916, allocations: 1.35 MB / 1.001 GB, free: 1.359 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.8916, allocations: 0 / 1.001 GB, free: 1.359 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.8941, allocations: 0.6681 MB / 1.002 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006825/0.9009, allocations: 1.281 MB / 1.003 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.9087, allocations: 4.789 MB / 1.008 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.9101, allocations: 1.513 MB / 1.009 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00238/0.9125, allocations: 440.2 kB / 1.009 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.9131, allocations: 163.4 kB / 1.01 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/0.9131, allocations: 0 / 1.01 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of Templates: time 0.08086/0.994, allocations: 50.42 MB / 1.059 GB, free: 6.742 MB / 0.6355 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)