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.001315/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 194.4 kB / 16.14 MB, free: 6.637 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002584/0.002584, allocations: 286.7 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.137/1.137, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 100.2 kB / 0.6057 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1596, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.405/0.5647, allocations: 131.4 MB / 0.8211 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03278/0.5975, allocations: 23.33 MB / 0.8438 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.6016, allocations: 120.3 kB / 0.844 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.6055, allocations: 1.196 MB / 0.8451 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.6168, allocations: 3.785 MB / 0.8488 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.6222, allocations: 1.965 MB / 0.8507 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.6331, allocations: 8.283 MB / 0.8588 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004917/0.638, allocations: 1.968 MB / 0.8607 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00587/0.6439, allocations: 2.367 MB / 0.8631 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.6476, allocations: 1.866 MB / 0.8649 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006133/0.6482, allocations: 120 kB / 0.865 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.6534, allocations: 1.742 MB / 0.8667 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008265/0.6542, allocations: 0.4936 MB / 0.8672 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.6565, allocations: 1.329 MB / 0.8685 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.6635, allocations: 4.234 MB / 0.8726 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6635, allocations: 0 / 0.8726 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6635, allocations: 0 / 0.8726 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.992e-05/0.6636, allocations: 0 / 0.8726 GB, free: 9.492 MB / 0.5919 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.006338/0.6699, allocations: 3.184 MB / 0.8757 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.67, allocations: 8.031 kB / 0.8757 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.6748, allocations: 0.8327 MB / 0.8765 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.6794, allocations: 2.276 MB / 0.8788 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.6804, allocations: 290.9 kB / 0.879 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.6807, allocations: 160 kB / 0.8792 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.6851, allocations: 1.936 MB / 0.8811 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.6852, allocations: 7.922 kB / 0.8811 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.6854, allocations: 67.98 kB / 0.8812 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.6854, allocations: 36 kB / 0.8812 GB, free: 488 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005239/0.6906, allocations: 1.831 MB / 0.883 GB, free: 14.64 MB / 0.6075 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.01394/0.7046, allocations: 9.024 MB / 0.8918 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004618/0.7092, allocations: 1.193 MB / 0.893 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.7104, allocations: 463.4 kB / 0.8934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.7119, allocations: 1.722 MB / 0.8951 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.7119, allocations: 46.31 kB / 0.8951 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.7119, allocations: 0 / 0.8951 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009349/0.7213, allocations: 2.341 MB / 0.8974 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.7214, allocations: 89.09 kB / 0.8975 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/0.7258, allocations: 2.52 MB / 0.9 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.726, allocations: 45.7 kB / 0.9 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.7271, allocations: 1.042 MB / 0.901 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.7274, allocations: 268.2 kB / 0.9013 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.7279, allocations: 254.6 kB / 0.9015 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.7281, allocations: 345.9 kB / 0.9018 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.73, allocations: 0.5803 MB / 0.9024 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.7324, allocations: 0.9706 MB / 0.9034 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.7357, allocations: 1.264 MB / 0.9046 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.7357, allocations: 7.938 kB / 0.9046 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007179/0.7429, allocations: 2.055 MB / 0.9066 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.7429, allocations: 8 kB / 0.9066 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.743, allocations: 8 kB / 0.9066 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.7449, allocations: 497.6 kB / 0.9071 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.7462, allocations: 291.5 kB / 0.9074 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.7486, allocations: 1.511 MB / 0.9089 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.7517, allocations: 433.9 kB / 0.9093 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.7519, allocations: 59.95 kB / 0.9093 GB, free: 2.191 MB / 0.6231 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.0009337/0.7528, allocations: 471 kB / 0.9098 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/0.7533, allocations: 248.9 kB / 0.91 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.7571, allocations: 1.497 MB / 0.9115 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.7572, allocations: 12 kB / 0.9115 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7572, allocations: 3.984 kB / 0.9115 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7572, allocations: 3.984 kB / 0.9115 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008043/0.7653, allocations: 3.622 MB / 0.915 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.7653, allocations: 3.938 kB / 0.915 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.766, allocations: 123.8 kB / 0.9151 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.7678, allocations: 0.4893 MB / 0.9156 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.7679, allocations: 27.97 kB / 0.9157 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.7707, allocations: 1.587 MB / 0.9172 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.7707, allocations: 7.938 kB / 0.9172 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/0.7772, allocations: 1.931 MB / 0.9191 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.7784, allocations: 489.6 kB / 0.9196 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.7788, allocations: 15.94 kB / 0.9196 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.7808, allocations: 183.7 kB / 0.9198 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7809, allocations: 51.88 kB / 0.9198 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.781, allocations: 51.89 kB / 0.9199 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003572/0.7846, allocations: 1.766 MB / 0.9216 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7846, allocations: 0 / 0.9216 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002446/0.7871, allocations: 0.6905 MB / 0.9223 GB, free: 4.668 MB / 0.6387 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.001285/0.7884, allocations: 0.6056 MB / 0.9228 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004444/0.7928, allocations: 1.349 MB / 0.9242 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.7929, allocations: 4 kB / 0.9242 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.7954, allocations: 0.6739 MB / 0.9248 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006293/0.8017, allocations: 1.262 MB / 0.9261 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.8086, allocations: 4.307 MB / 0.9303 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.8099, allocations: 1.486 MB / 0.9317 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002035/0.8119, allocations: 436 kB / 0.9321 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.8124, allocations: 167.4 kB / 0.9323 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.8124, allocations: 3.938 kB / 0.9323 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.08399/0.8964, allocations: 48.69 MB / 0.9798 GB, free: 10.29 MB / 0.7012 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)