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.0007966/0.0007966, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004813/0.004813, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 282.5 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 16.44 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4126/0.5637, allocations: 129.3 MB / 0.8114 GB, free: 23.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.5889, allocations: 23.06 MB / 0.8339 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.5933, allocations: 109.1 kB / 0.834 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.5965, allocations: 1.202 MB / 0.8352 GB, free: 5.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009998/0.6065, allocations: 3.779 MB / 0.8389 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.6109, allocations: 1.971 MB / 0.8408 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008408/0.6194, allocations: 8.277 MB / 0.8489 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.622, allocations: 1.913 MB / 0.8508 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.6262, allocations: 2.293 MB / 0.853 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.6286, allocations: 1.786 MB / 0.8547 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.6288, allocations: 88.34 kB / 0.8548 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.6328, allocations: 1.713 MB / 0.8565 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.6332, allocations: 445.6 kB / 0.8569 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.6348, allocations: 1.288 MB / 0.8582 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005061/0.6398, allocations: 4.131 MB / 0.8622 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6398, allocations: 0 / 0.8622 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6398, allocations: 4 kB / 0.8622 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.6399, allocations: 0 / 0.8622 GB, free: 1.684 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.004497/0.6444, allocations: 2.666 MB / 0.8648 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6444, allocations: 12.03 kB / 0.8648 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.6488, allocations: 0.9533 MB / 0.8658 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/0.6528, allocations: 2.28 MB / 0.868 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009877/0.6538, allocations: 322.8 kB / 0.8683 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.654, allocations: 163.9 kB / 0.8685 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.658, allocations: 1.981 MB / 0.8704 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.658, allocations: 3.938 kB / 0.8704 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.6582, allocations: 64 kB / 0.8705 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.6582, allocations: 39.94 kB / 0.8705 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.6629, allocations: 1.897 MB / 0.8723 GB, free: 7.082 MB / 0.5762 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.0128/0.6758, allocations: 9.07 MB / 0.8812 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/0.6801, allocations: 1.293 MB / 0.8825 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.6813, allocations: 490 kB / 0.8829 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.6823, allocations: 1.722 MB / 0.8846 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.6824, allocations: 42.31 kB / 0.8847 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.6824, allocations: 0 / 0.8847 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008768/0.6912, allocations: 2.519 MB / 0.8871 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6912, allocations: 85.11 kB / 0.8872 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.695, allocations: 2.508 MB / 0.8896 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.6951, allocations: 45.7 kB / 0.8897 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/0.6959, allocations: 1.041 MB / 0.8907 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.6962, allocations: 272.2 kB / 0.891 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.6963, allocations: 89.67 kB / 0.8911 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6965, allocations: 349.9 kB / 0.8914 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.6983, allocations: 0.6271 MB / 0.892 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.7004, allocations: 1.013 MB / 0.893 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.7035, allocations: 1.326 MB / 0.8943 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.7035, allocations: 4 kB / 0.8943 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006578/0.7101, allocations: 2.189 MB / 0.8964 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.7102, allocations: 10.03 kB / 0.8964 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.7102, allocations: 8 kB / 0.8964 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.7118, allocations: 433.4 kB / 0.8969 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.7131, allocations: 311.5 kB / 0.8972 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.7152, allocations: 1.556 MB / 0.8987 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.7181, allocations: 483.2 kB / 0.8991 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.7183, allocations: 63.97 kB / 0.8992 GB, free: 10.12 MB / 0.6075 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 (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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008143/0.7191, allocations: 461.5 kB / 0.8996 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.7194, allocations: 252.9 kB / 0.8999 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.7231, allocations: 1.551 MB / 0.9014 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.7231, allocations: 15.98 kB / 0.9014 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7231, allocations: 0 / 0.9014 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7231, allocations: 3.984 kB / 0.9014 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.7341, allocations: 3.697 MB / 0.905 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.7341, allocations: 4 kB / 0.905 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/0.7351, allocations: 136.2 kB / 0.9052 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.7374, allocations: 434.7 kB / 0.9056 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.7375, allocations: 27.98 kB / 0.9056 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/0.7416, allocations: 1.628 MB / 0.9072 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.7416, allocations: 12 kB / 0.9072 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/0.751, allocations: 2.072 MB / 0.9092 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/0.7528, allocations: 0.5052 MB / 0.9097 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007528/0.7536, allocations: 20 kB / 0.9097 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/0.7569, allocations: 195.8 kB / 0.9099 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7571, allocations: 59.81 kB / 0.91 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.7573, allocations: 51.88 kB / 0.91 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00522/0.7625, allocations: 1.765 MB / 0.9117 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7625, allocations: 0 / 0.9117 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003811/0.7663, allocations: 0.6788 MB / 0.9124 GB, free: 12.29 MB / 0.6231 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 (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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00176/0.7681, allocations: 0.5943 MB / 0.913 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006461/0.7746, allocations: 1.428 MB / 0.9144 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.7746, allocations: 3.938 kB / 0.9144 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002838/0.7775, allocations: 0.7233 MB / 0.9151 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008165/0.7857, allocations: 1.317 MB / 0.9164 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.7924, allocations: 4.349 MB / 0.9206 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009791/0.7934, allocations: 1.487 MB / 0.9221 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002078/0.7955, allocations: 443.7 kB / 0.9225 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.7959, allocations: 179.4 kB / 0.9227 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.796, allocations: 0 / 0.9227 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of Templates: time 0.08157/0.8775, allocations: 50.77 MB / 0.9723 GB, free: 15.6 MB / 0.6856 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)