Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008445/0.0008446, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 271 kB / 291.3 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9732/0.9732, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 13.53 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1867, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4999/0.6866, allocations: 122.1 MB / 0.8038 GB, free: 28.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03059/0.7172, allocations: 21.77 MB / 0.825 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005802/0.7231, allocations: 108.2 kB / 0.8251 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.7275, allocations: 1.002 MB / 0.8261 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.7378, allocations: 3.165 MB / 0.8292 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00515/0.743, allocations: 1.523 MB / 0.8307 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009511/0.7525, allocations: 7.186 MB / 0.8377 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.7558, allocations: 1.671 MB / 0.8393 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.7617, allocations: 2.152 MB / 0.8414 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003895/0.7656, allocations: 1.672 MB / 0.8431 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005759/0.7662, allocations: 88.94 kB / 0.8432 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/0.7712, allocations: 1.214 MB / 0.8443 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006232/0.7718, allocations: 420.9 kB / 0.8447 GB, free: 368 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.7733, allocations: 0.5499 MB / 0.8453 GB, free: 48 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005442/0.7787, allocations: 3.133 MB / 0.8483 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7788, allocations: 0 / 0.8483 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7788, allocations: 3.312 kB / 0.8483 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001233/0.7789, allocations: 0 / 0.8483 GB, free: 13.91 MB / 0.5606 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.006584/0.7855, allocations: 2.691 MB / 0.851 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7856, allocations: 7.969 kB / 0.851 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.7897, allocations: 0.9611 MB / 0.8519 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.7944, allocations: 2.19 MB / 0.8541 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000869/0.7953, allocations: 318.8 kB / 0.8544 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.7956, allocations: 164 kB / 0.8545 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.7996, allocations: 1.964 MB / 0.8564 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.7996, allocations: 7.938 kB / 0.8564 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.7998, allocations: 64 kB / 0.8565 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.7998, allocations: 40 kB / 0.8565 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004517/0.8044, allocations: 1.885 MB / 0.8584 GB, free: 4.762 MB / 0.5606 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.0126/0.817, allocations: 9.078 MB / 0.8672 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.8209, allocations: 1.287 MB / 0.8685 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.8219, allocations: 486.7 kB / 0.869 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.8231, allocations: 1.726 MB / 0.8707 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.8231, allocations: 46.31 kB / 0.8707 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.364e-06/0.8232, allocations: 0 / 0.8707 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007978/0.8311, allocations: 2.488 MB / 0.8731 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.8312, allocations: 89.06 kB / 0.8732 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/0.8355, allocations: 2.489 MB / 0.8756 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.8357, allocations: 41.7 kB / 0.8757 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.8366, allocations: 1.046 MB / 0.8767 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.8369, allocations: 264.2 kB / 0.877 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.837, allocations: 20 kB / 0.877 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8372, allocations: 353.9 kB / 0.8773 GB, free: 244 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.8388, allocations: 0.6272 MB / 0.8779 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.8407, allocations: 1.009 MB / 0.8789 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.8425, allocations: 0.6856 MB / 0.8796 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.8425, allocations: 4 kB / 0.8796 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00515/0.8476, allocations: 1.954 MB / 0.8815 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.8477, allocations: 8 kB / 0.8815 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.8477, allocations: 8.625 kB / 0.8815 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.8492, allocations: 444.7 kB / 0.8819 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.8504, allocations: 307.6 kB / 0.8822 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.8523, allocations: 1.546 MB / 0.8837 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.8552, allocations: 483.3 kB / 0.8842 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.8554, allocations: 59.91 kB / 0.8843 GB, free: 8.914 MB / 0.5919 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008895/0.8563, allocations: 461.5 kB / 0.8847 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.8567, allocations: 248.9 kB / 0.8849 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.8599, allocations: 1.559 MB / 0.8865 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.86, allocations: 11.98 kB / 0.8865 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.86, allocations: 4 kB / 0.8865 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.86, allocations: 3.984 kB / 0.8865 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.867, allocations: 3.67 MB / 0.8901 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.8671, allocations: 4 kB / 0.8901 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.8676, allocations: 144.1 kB / 0.8902 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.869, allocations: 433.2 kB / 0.8906 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.8691, allocations: 27.94 kB / 0.8906 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.8714, allocations: 1.633 MB / 0.8922 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8714, allocations: 4.031 kB / 0.8922 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.8768, allocations: 2.068 MB / 0.8943 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.878, allocations: 0.5092 MB / 0.8947 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.8783, allocations: 24 kB / 0.8948 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.8799, allocations: 191.7 kB / 0.895 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.88, allocations: 63.69 kB / 0.895 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/0.8801, allocations: 43.95 kB / 0.8951 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002794/0.8829, allocations: 1.75 MB / 0.8968 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8829, allocations: 0 / 0.8968 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001926/0.8848, allocations: 0.671 MB / 0.8974 GB, free: 11.13 MB / 0.6075 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009793/0.8858, allocations: 0.5699 MB / 0.898 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00359/0.8894, allocations: 1.424 MB / 0.8994 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8895, allocations: 4.188 kB / 0.8994 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.8915, allocations: 0.7231 MB / 0.9001 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/0.8968, allocations: 1.277 MB / 0.9013 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.9035, allocations: 4.186 MB / 0.9054 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.9046, allocations: 1.49 MB / 0.9069 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002258/0.9068, allocations: 431.4 kB / 0.9073 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.9073, allocations: 163.4 kB / 0.9074 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of SimCode: time 1.142e-06/0.9073, allocations: 0 / 0.9074 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of Templates: time 0.07417/0.9814, allocations: 46.7 MB / 0.953 GB, free: 2.75 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)