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.0009969/0.0009969, allocations: 108 kB / 16.37 MB, free: 6.477 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.001057/0.001057, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 276.4 kB / 291.4 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 0.9093/0.9093, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 94.77 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1553, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3809/0.5362, allocations: 132.2 MB / 0.8107 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03001/0.5663, allocations: 23.22 MB / 0.8334 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.5702, allocations: 123.2 kB / 0.8335 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.5739, allocations: 1.494 MB / 0.835 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.5839, allocations: 4.102 MB / 0.839 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005285/0.5892, allocations: 2.173 MB / 0.8411 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009133/0.5984, allocations: 6.55 MB / 0.8475 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/0.602, allocations: 2.351 MB / 0.8498 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/0.6088, allocations: 2.769 MB / 0.8525 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.6122, allocations: 1.878 MB / 0.8543 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005132/0.6127, allocations: 248 kB / 0.8546 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/0.617, allocations: 1.938 MB / 0.8565 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005797/0.6176, allocations: 0.6031 MB / 0.857 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.6193, allocations: 1.462 MB / 0.8585 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005717/0.625, allocations: 4.377 MB / 0.8627 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6251, allocations: 4 kB / 0.8627 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6251, allocations: 3.938 kB / 0.8628 GB, free: 5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.979e-05/0.6251, allocations: 0 / 0.8628 GB, free: 5 MB / 0.6231 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.005184/0.6303, allocations: 3.191 MB / 0.8659 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.6303, allocations: 8.031 kB / 0.8659 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/0.6344, allocations: 0.8405 MB / 0.8667 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.6385, allocations: 2.326 MB / 0.869 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/0.6386, allocations: 123 kB / 0.8691 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.6388, allocations: 160 kB / 0.8692 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.6425, allocations: 1.919 MB / 0.8711 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.6425, allocations: 7.938 kB / 0.8711 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.6427, allocations: 64 kB / 0.8712 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.6427, allocations: 40 kB / 0.8712 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.647, allocations: 1.799 MB / 0.873 GB, free: 10.3 MB / 0.6387 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.01345/0.6605, allocations: 8.981 MB / 0.8817 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.6645, allocations: 1.201 MB / 0.8829 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.6655, allocations: 461.3 kB / 0.8834 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.6668, allocations: 1.726 MB / 0.885 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6669, allocations: 42.31 kB / 0.8851 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.444e-06/0.6669, allocations: 0 / 0.8851 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.008185/0.6751, allocations: 2.337 MB / 0.8874 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.6752, allocations: 85.11 kB / 0.8874 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.679, allocations: 2.52 MB / 0.8899 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.6791, allocations: 49.7 kB / 0.89 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.6799, allocations: 1.042 MB / 0.891 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.6802, allocations: 272.1 kB / 0.8912 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.6806, allocations: 254.5 kB / 0.8915 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6807, allocations: 357.9 kB / 0.8918 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.6823, allocations: 0.5686 MB / 0.8924 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.6842, allocations: 0.9582 MB / 0.8933 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.6869, allocations: 1.244 MB / 0.8945 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.6869, allocations: 8 kB / 0.8945 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00581/0.6927, allocations: 2.02 MB / 0.8965 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6928, allocations: 8 kB / 0.8965 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6928, allocations: 8 kB / 0.8965 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.6944, allocations: 0.4898 MB / 0.897 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6956, allocations: 279.6 kB / 0.8973 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.6976, allocations: 1.525 MB / 0.8988 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.7001, allocations: 362 kB / 0.8991 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.7002, allocations: 63.97 kB / 0.8992 GB, free: 14.02 MB / 0.67 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.000781/0.701, allocations: 463.1 kB / 0.8996 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.7014, allocations: 248.9 kB / 0.8998 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.7047, allocations: 1.505 MB / 0.9013 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.7047, allocations: 12 kB / 0.9013 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7047, allocations: 0 / 0.9013 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.7047, allocations: 7.922 kB / 0.9013 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/0.7115, allocations: 3.628 MB / 0.9049 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.7115, allocations: 4.375 kB / 0.9049 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.7121, allocations: 127.8 kB / 0.905 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.7136, allocations: 493 kB / 0.9055 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.7137, allocations: 27.98 kB / 0.9055 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.7161, allocations: 1.579 MB / 0.907 GB, free: 5.766 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.7161, allocations: 7.938 kB / 0.907 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/0.7215, allocations: 1.936 MB / 0.9089 GB, free: 3.762 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008978/0.7224, allocations: 493.6 kB / 0.9094 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/0.7227, allocations: 23.89 kB / 0.9094 GB, free: 3.234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.7243, allocations: 136 kB / 0.9096 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.7244, allocations: 63.86 kB / 0.9096 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.7245, allocations: 43.91 kB / 0.9097 GB, free: 2.996 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002644/0.7272, allocations: 1.773 MB / 0.9114 GB, free: 1.219 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7272, allocations: 0 / 0.9114 GB, free: 1.219 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001694/0.7289, allocations: 0.6867 MB / 0.9121 GB, free: 0.5312 MB / 0.67 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.001015/0.7299, allocations: 0.6146 MB / 0.9127 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003659/0.7336, allocations: 1.345 MB / 0.914 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7336, allocations: 0 / 0.914 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.7357, allocations: 0.6856 MB / 0.9146 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/0.7406, allocations: 1.322 MB / 0.9159 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.7459, allocations: 3.546 MB / 0.9194 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.7469, allocations: 1.497 MB / 0.9209 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00139/0.7483, allocations: 431.8 kB / 0.9213 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.7486, allocations: 171.4 kB / 0.9214 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of SimCode: time 6.72e-07/0.7486, allocations: 0 / 0.9214 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of Templates: time 0.3221/1.071, allocations: 48.43 MB / 0.9687 GB, free: 241.2 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)