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.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001345/0.001345, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 286.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 178.6 MB / 0.5069 GB, free: 4.707 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003917/0.003918, allocations: 100.6 kB / 0.6059 GB, free: 24.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.172, allocations: 89.16 MB / 0.693 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4437/0.6157, allocations: 131 MB / 0.8209 GB, free: 2.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03538/0.6511, allocations: 23.07 MB / 0.8435 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005551/0.6567, allocations: 111.6 kB / 0.8436 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.6618, allocations: 1.283 MB / 0.8448 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.6748, allocations: 3.822 MB / 0.8486 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.681, allocations: 1.984 MB / 0.8505 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.691, allocations: 6.578 MB / 0.8569 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/0.6955, allocations: 2.353 MB / 0.8592 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007754/0.7033, allocations: 2.768 MB / 0.8619 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004156/0.7075, allocations: 1.939 MB / 0.8638 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009637/0.7085, allocations: 248 kB / 0.864 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/0.714, allocations: 1.965 MB / 0.866 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.7152, allocations: 0.6031 MB / 0.8666 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.7183, allocations: 1.473 MB / 0.868 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008221/0.7265, allocations: 4.327 MB / 0.8722 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7265, allocations: 0 / 0.8722 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7265, allocations: 0 / 0.8722 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.307e-05/0.7266, allocations: 0 / 0.8722 GB, free: 9.871 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.006939/0.7336, allocations: 3.18 MB / 0.8753 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.7336, allocations: 8.031 kB / 0.8753 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.7385, allocations: 0.8366 MB / 0.8761 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00582/0.7443, allocations: 2.274 MB / 0.8784 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/0.7454, allocations: 294.8 kB / 0.8787 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/0.7458, allocations: 163.9 kB / 0.8788 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/0.7506, allocations: 1.938 MB / 0.8807 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.7506, allocations: 0 / 0.8807 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.7508, allocations: 64 kB / 0.8808 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.7508, allocations: 36 kB / 0.8808 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.7558, allocations: 1.831 MB / 0.8826 GB, free: 15.02 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.01435/0.7701, allocations: 9.028 MB / 0.8914 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/0.7747, allocations: 1.189 MB / 0.8926 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.7759, allocations: 461.4 kB / 0.893 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.7773, allocations: 1.719 MB / 0.8947 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.7774, allocations: 46.31 kB / 0.8947 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 4.669e-06/0.7774, allocations: 3.938 kB / 0.8947 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009055/0.7864, allocations: 2.337 MB / 0.897 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.7865, allocations: 85.11 kB / 0.8971 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/0.7908, allocations: 2.52 MB / 0.8996 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.791, allocations: 45.7 kB / 0.8996 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.792, allocations: 1.042 MB / 0.9006 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.7924, allocations: 268.2 kB / 0.9009 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.7928, allocations: 254.6 kB / 0.9011 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.793, allocations: 349.9 kB / 0.9014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.7949, allocations: 0.5842 MB / 0.902 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.7971, allocations: 0.9705 MB / 0.903 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.8003, allocations: 1.26 MB / 0.9042 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.8003, allocations: 3.938 kB / 0.9042 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006859/0.8072, allocations: 2.055 MB / 0.9062 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8072, allocations: 11.94 kB / 0.9062 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.8073, allocations: 8 kB / 0.9062 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/0.8092, allocations: 497.6 kB / 0.9067 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.8105, allocations: 291.6 kB / 0.907 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.813, allocations: 1.521 MB / 0.9085 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.8164, allocations: 441.1 kB / 0.9089 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.8166, allocations: 59.97 kB / 0.9089 GB, free: 2.566 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.001056/0.8177, allocations: 458 kB / 0.9094 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006818/0.8184, allocations: 248.9 kB / 0.9096 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.8222, allocations: 1.52 MB / 0.9111 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.8223, allocations: 8 kB / 0.9111 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8223, allocations: 0 / 0.9111 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.8223, allocations: 7.984 kB / 0.9111 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00812/0.8304, allocations: 3.614 MB / 0.9146 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8304, allocations: 3.938 kB / 0.9146 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.8311, allocations: 132.2 kB / 0.9148 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.8329, allocations: 489 kB / 0.9152 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/0.833, allocations: 27.98 kB / 0.9153 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.8358, allocations: 1.583 MB / 0.9168 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8358, allocations: 4.094 kB / 0.9168 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/0.842, allocations: 1.939 MB / 0.9187 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.8432, allocations: 485.6 kB / 0.9192 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.8435, allocations: 27.86 kB / 0.9192 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.8453, allocations: 171.7 kB / 0.9194 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8455, allocations: 59.92 kB / 0.9194 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.8456, allocations: 43.91 kB / 0.9195 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003144/0.8487, allocations: 1.769 MB / 0.9212 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8487, allocations: 4 kB / 0.9212 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001981/0.8507, allocations: 0.6866 MB / 0.9219 GB, free: 5.047 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.001221/0.8519, allocations: 0.5925 MB / 0.9224 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004484/0.8564, allocations: 1.4 MB / 0.9238 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.8565, allocations: 0 / 0.9238 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.8589, allocations: 0.674 MB / 0.9245 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/0.8649, allocations: 1.335 MB / 0.9258 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.8719, allocations: 4.319 MB / 0.93 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.8731, allocations: 1.482 MB / 0.9314 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001974/0.8751, allocations: 436.2 kB / 0.9319 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.8755, allocations: 167.4 kB / 0.932 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.8755, allocations: 4 kB / 0.932 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.09123/0.9667, allocations: 50.53 MB / 0.9814 GB, free: 8.785 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)