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.001573/0.001573, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 279 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9295/0.9295, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 98.61 kB / 0.5952 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1614, allocations: 86.98 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.439/0.6005, allocations: 132.2 MB / 0.8092 GB, free: 33.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03014/0.6307, allocations: 23.22 MB / 0.8319 GB, free: 24.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006459/0.6371, allocations: 125.1 kB / 0.832 GB, free: 24.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.6417, allocations: 1.493 MB / 0.8335 GB, free: 23.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.6544, allocations: 4.1 MB / 0.8375 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.6604, allocations: 2.15 MB / 0.8396 GB, free: 19.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009287/0.6697, allocations: 6.509 MB / 0.846 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.6732, allocations: 2.358 MB / 0.8483 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005958/0.6792, allocations: 2.745 MB / 0.8509 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.682, allocations: 1.873 MB / 0.8528 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.6825, allocations: 247.3 kB / 0.853 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004454/0.687, allocations: 1.937 MB / 0.8549 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.6875, allocations: 0.5978 MB / 0.8555 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.689, allocations: 1.458 MB / 0.8569 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.6943, allocations: 4.328 MB / 0.8611 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6943, allocations: 0 / 0.8611 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6943, allocations: 0 / 0.8611 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.13e-05/0.6943, allocations: 0 / 0.8611 GB, free: 6.215 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.00447/0.6988, allocations: 3.164 MB / 0.8642 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6989, allocations: 8.062 kB / 0.8642 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.703, allocations: 0.8407 MB / 0.865 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/0.7063, allocations: 2.214 MB / 0.8672 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008511/0.7071, allocations: 294.8 kB / 0.8675 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.7073, allocations: 160 kB / 0.8676 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.7107, allocations: 1.934 MB / 0.8695 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.7108, allocations: 3.938 kB / 0.8695 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.7109, allocations: 60 kB / 0.8696 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.711, allocations: 43.94 kB / 0.8696 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0046/0.7156, allocations: 1.815 MB / 0.8714 GB, free: 13.23 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.01201/0.7276, allocations: 9.05 MB / 0.8802 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.7318, allocations: 1.192 MB / 0.8814 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7329, allocations: 466.8 kB / 0.8819 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.7341, allocations: 1.722 MB / 0.8835 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.7341, allocations: 50.31 kB / 0.8836 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.985e-06/0.7341, allocations: 0 / 0.8836 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008693/0.7428, allocations: 2.332 MB / 0.8859 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.7429, allocations: 85.11 kB / 0.8859 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/0.7476, allocations: 2.508 MB / 0.8884 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.7478, allocations: 49.7 kB / 0.8884 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009395/0.7487, allocations: 1.038 MB / 0.8895 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.749, allocations: 268.2 kB / 0.8897 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.7495, allocations: 254.6 kB / 0.89 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7497, allocations: 349.9 kB / 0.8903 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.7515, allocations: 0.588 MB / 0.8909 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.7537, allocations: 0.9699 MB / 0.8918 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.7569, allocations: 1.268 MB / 0.893 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.7569, allocations: 4 kB / 0.8931 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007366/0.7643, allocations: 2.044 MB / 0.895 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7643, allocations: 8 kB / 0.8951 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.7643, allocations: 8 kB / 0.8951 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.766, allocations: 417.8 kB / 0.8955 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.7672, allocations: 287.5 kB / 0.8957 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.7694, allocations: 1.507 MB / 0.8972 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.7723, allocations: 386 kB / 0.8976 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.7725, allocations: 63.95 kB / 0.8976 GB, free: 0.918 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 (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.0008907/0.7734, allocations: 467.1 kB / 0.8981 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/0.774, allocations: 248.9 kB / 0.8983 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.7779, allocations: 1.506 MB / 0.8998 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.7779, allocations: 12 kB / 0.8998 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7779, allocations: 0 / 0.8998 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.778, allocations: 3.984 kB / 0.8998 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007896/0.7859, allocations: 3.607 MB / 0.9033 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.7859, allocations: 0 / 0.9033 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.7865, allocations: 127.8 kB / 0.9034 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.7879, allocations: 417.5 kB / 0.9038 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.788, allocations: 23.98 kB / 0.9039 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.7906, allocations: 1.581 MB / 0.9054 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7906, allocations: 0 / 0.9054 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.7966, allocations: 1.935 MB / 0.9073 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009418/0.7975, allocations: 489.6 kB / 0.9078 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/0.798, allocations: 16 kB / 0.9078 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.8, allocations: 143.8 kB / 0.9079 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.8001, allocations: 63.8 kB / 0.908 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.8002, allocations: 43.97 kB / 0.908 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003278/0.8034, allocations: 1.757 MB / 0.9097 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8035, allocations: 4 kB / 0.9097 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002393/0.8059, allocations: 0.6944 MB / 0.9104 GB, free: 3.547 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 (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.001534/0.8074, allocations: 0.6217 MB / 0.911 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004516/0.8119, allocations: 1.389 MB / 0.9124 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.812, allocations: 0 / 0.9124 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.8144, allocations: 0.6692 MB / 0.913 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/0.8204, allocations: 1.334 MB / 0.9143 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.8271, allocations: 3.573 MB / 0.9178 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.8286, allocations: 1.486 MB / 0.9193 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002067/0.8307, allocations: 440.8 kB / 0.9197 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.8311, allocations: 163.4 kB / 0.9199 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.8311, allocations: 0 / 0.9199 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of Templates: time 0.08466/0.9158, allocations: 50.93 MB / 0.9696 GB, free: 7.59 MB / 0.67 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)